-
-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Description
For example, this SBOM
{
"bomFormat": "CycloneDX",
"specVersion": "1.6",
"components": [
{
"name": "one",
"type": "library",
"components": [
{
"type": "library",
"name": "two",
"licenses": [{"license": {"id": "BSD-3-Clause"}}]
}
]
}
]
}
When run through
./sbom-utility license list --input-file test.cdx.json
products a license list containing just component "one", but not component "two":
usage-policy license-type license resource-name bom-ref bom-location license-id license-name license-expression license-url license-text-encoding license-text-content-type license-text-content purl
------------ ------------ ------- ------------- ------- ------------ ---------- ------------ ------------------ ----------- --------------------- ------------------------- -------------------- ----
UNDEFINED invalid NOASSERTION one components
If component "one" has a license, then both components are correctly printed.
Tested with sbom-utility version 0.18.1 (latest).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels