Skip to content
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

rpm-ostree: support generating SPDX SBOMs #1826

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

chmeliik
Copy link
Contributor

Add an SBOM_TYPE parameter, defaulting to 'cyclonedx' for now. This
parameter determines the format of the Syft-generated SBOM. This must
match the format of the SBOM coming from the prefetch task (if any),
otherwise the SBOM merging will fail.

Depends on #1798 and a subsequent Renovate update (the current revision of the sbom-utility-scripts image doesn't include the SPDX support yet)

Add an SBOM_TYPE parameter, defaulting to 'cyclonedx' for now. This
parameter determines the format of the Syft-generated SBOM. This must
match the format of the SBOM coming from the prefetch task (if any),
otherwise the SBOM merging will fail.

Signed-off-by: Adam Cmiel <acmiel@redhat.com>
The script has been renamed from merge_cachi2_sboms to merge_sboms. The
container image still provides the merge_cachi2_sboms alias for
backwards compatibility, but switch to the the new name for better
future-proofing.

The script now also allows specifying the "flavor" of each SBOM on the
command line - do this explicitly instead of relying on the legacy
behavior of left=cachi2, right=syft.

Signed-off-by: Adam Cmiel <acmiel@redhat.com>
@chmeliik chmeliik mentioned this pull request Jan 15, 2025
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