Skip to content

Commit

Permalink
CDX: ensure metadata property is a string
Browse files Browse the repository at this point in the history
Signed-off-by: Jonathan Ringer <jringer@anduril.com>
  • Loading branch information
jonringer committed Sep 30, 2024
1 parent c0a07db commit 3df72ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sbomnix/sbomdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def to_cdx(self, cdx_path, printinfo=True):
if self.depth:
prop = {}
prop["name"] = "sbom_dependencies_depth"
prop["value"] = self.depth
prop["value"] = str(self.depth)
cdx["metadata"]["properties"].append(prop)
tool = {}
tool["vendor"] = "TII"
Expand Down

0 comments on commit 3df72ba

Please sign in to comment.