Skip to content

[BREAKING CHANGE] Refactor BOM generation to a subcommand of cyclonedx-py #527

Closed as not planned

Description

@madpah

To allow for future functionality (e.g. #528), this feature will move the current BOM generation functionality into a sub-command of cyclonedx-py.

After this feature is complete, users will run cyclonedx-py make-bom ... as opposed to just cyclonedx-py ... today.

Activity

  1. added this to the 4.0.0 milestone on Mar 14, 2023
  2. jkowalleck commented on Sep 9, 2023

    @jkowalleck
    Member

    proposed structire, as all the providers might bring own options and switches:

    $ cyclonedx-py make-sbom from-environment <undecided>
    $ cyclonedx-py make-sbom from-poetry -i poetry.lock
    $ cyclonedx-py make-sbom from-pipenv -i Pipfile.lock
    $ cyclonedx-py make-sbom from-requirements -i requirements.txt requirements-dev.txt 
    $ cyclonedx-py make-sbom from-conda <undecided>

    common params for all $ cyclonedx-py make-sbom are

    • -o --output-file FILE_PATH Output file path for your SBOM (set to '-' to output to STDOUT)
    • --output-format {json,xml} The output format for your SBOM (default: xml)
    • --output-schema-version {1.4,1.3,1.2,1.1,1.0} The CycloneDX schema version for your SBOM (default: 1.4)
    • --validate Whether to validate the SBOM result before outputting.
  3. jkowalleck commented on Sep 12, 2023

    @jkowalleck
    Member

    since #528 is no longer a thing,
    this very issue was superseded by #586

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking changeenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions