Skip to content

feat: mark SBOM from requirements as "incomplete" #898

Description

@jkowalleck

Is your feature request related to a problem? Please describe.

when generating an SBOM from a requirements.txt, it is currently not planned to pull transitive depednencies.
therefore, the SBOM might be incomplete.
this shall eb stated via CycloneDX compositition

A requirements file might be a complete, accect set of all depeendnecies, including constriants and such.
Or it might be just a list of first-level/promary/direct runtime dependencies - lacking the transitive dependncies and constraints.

Describe the solution you'd like

add a CLI option to set completeness according to spec - https://cyclonedx.org/docs/1.4/json/#compositions_items_aggregate

if this flag is present: generating an SBOM from a requirements.txt,
for the root component: the dependency composition completeness is set to the given value

Describe alternatives you've considered

/

Additional context

guide

requires

Contribution

  • I am willing to provide an implementation
  • I will wait until somebody else implements it

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions