Skip to content

Commit 3c038f6

Browse files
feat: Add support for operating system components in CycloneDX documents
1 parent 374bfa1 commit 3c038f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbomdiff/cyclonedx_parser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def parse_cyclonedx_json(self, sbom_file):
2424
data = json.load(open(sbom_file))
2525
packages = {}
2626
for d in data["components"]:
27-
if d["type"] in ["library", "application"]:
27+
if d["type"] in ["library", "application", "operating-system"]:
2828
package = d["name"]
2929
version = d["version"]
3030
license = "NOT FOUND"

0 commit comments

Comments
 (0)