Skip to content

Enable CycloneDX Output #142

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Enable CycloneDX Output #142

wants to merge 1 commit into from

Conversation

ajendrosch
Copy link
Contributor

Summary of Changes

Added cli parameter output-format CycloneDxMarshal for writing output according to Cyclonedx 1.5 standard to storage.

Added CLI Parameter for Output Format:

  • Introduced a new CLI parameter --output-format to specify the desired output format for the collected images. Supported formats are json and cyclonedx.
  • Updated the newCommand function to include the output-format parameter.

Implemented CycloneDX 1.5 Output Format:

  • Added a new marshalling function CycloneDXMarshal to convert the collected images to the CycloneDX 1.5 format.
  • The CycloneDXMarshal function constructs a CycloneDX BOM (Bill of Materials) with the required fields and properties.

Updated the run Function:

  • Modified the run function to determine the marshalling function based on the output-format parameter.
  • Added support for the cyclonedx output format in the run function.

Enhanced the Store Function:

  • Updated the Store function to handle the new marshalling function for CycloneDX.
  • Ensured that the Store function can write the marshalled data to the specified storage.

@ajendrosch ajendrosch requested a review from a team as a code owner March 18, 2025 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant