How a package "dependencies" generated and added to SBOM? #501
-
👋 Hello! I am currently learning the concepts behind CycloneDX , how it works and how to work with I've managed to create a SBOM file from the For example,
thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Your assumption is correct. Producing the desired data structures is not an issue. see CycloneDX/cyclonedx-python-lib#7 Gathering the data sources is the problem. see also: #40 |
Beta Was this translation helpful? Give feedback.
-
@jkowalleck I have been using pipenv to generate the Pipfile.lock, but am not getting any libraries added to the "dependsOn" fields. Using the pipenv graph, I can see the dependencies are displaying as I expect. Using pipenv, I installed pandas (and it's dependencies). From there, I ran cyclonedx-bom: In my resulting SBOM, every dependsOn field is []. Is there something wrong with how I am generating the pip lock file or executing cyclonedx-python? Thank you very much for your assistance! |
Beta Was this translation helpful? Give feedback.
Your assumption is correct.
Producing the desired data structures is not an issue. see CycloneDX/cyclonedx-python-lib#7
Gathering the data sources is the problem.
A pure
requirements.txt
does not have this information present. Unlikepoetry
's lock file orpipenv
's lock files, which have the dependencies and everything.see also: #40