Skip to content

Addition of component name and type when running as requirements #709

Closed Answered by jkowalleck
andy778 asked this question in Q&A
Discussion options

You must be logged in to vote

you are referring to populating $.metadata.component?

then this capability is already there, see the docs:

example usage

cyclonedx-py requirements --pyproject .../pyproject.toml .../requirements.txt

examples: https://github.com/CycloneDX/cyclonedx-python/tree/main/tests/_data/infiles/requirements
example results: https://github.com/CycloneDX/cyclonedx-python/tree/main/tests/_data/snapshots/requirements

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@andy778
Comment options

Answer selected by jkowalleck
Comment options

You must be logged in to vote
1 reply
@andy778
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants