On this page, we will analyze the SBOM generated by the sbom4python tool for the PyTorch GitHub Repository. The overall analysis for sbom4python is available here.
The SPDX SBOM was generated in the JSON format and converted to RDF/XML using pyspdxtools. It is a valid spdx file and can be validated using the spdx online validator.
SBOM size
kg = kglab.KnowledgeGraph()kg.load_rdf("../../../data/tools_cs1/sboms/rdf/pytorch-sbom4python-spdx23.rdf.xml", format="xml")print("Files:", len(get_files_data(kg)))print("Packages:", len(get_package_data(kg)))print("relationships:", len(get_relationship_data(kg)))
Files: 0
Packages: 0
relationships: 0
Is this SBOM NTIA minimum element conformant? False