diff --git a/src/sbomnix/sbomdb.py b/src/sbomnix/sbomdb.py index abac19b..4df5a51 100644 --- a/src/sbomnix/sbomdb.py +++ b/src/sbomnix/sbomdb.py @@ -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"