konflux: generate SBOM using syft and mobster#256
Merged
Conversation
dbkreling
force-pushed
the
kata-5098-sbom-syft
branch
from
July 3, 2026 19:38
1190751 to
b1d6529
Compare
Collaborator
Author
|
/retest |
Replace the empty SBOM placeholder with a proper SPDX 2.3 SBOM generated by syft and mobster, matching the approach used by osc-caa and other OSC components and aligned with the buildah-remote-oci-ta task in konflux-ci/build-definitions. The RPM database and /usr/lib/os-release are extracted from the QCOW2 guest image via virt-copy-out and transferred back to the Tekton pod. Syft scans the RPM database to produce a complete package inventory with PURLs, CPEs, and licenses. Mobster wraps the syft output with OCI image metadata and a reference to the osc-podvm-payload base image. Also updates the mobster image from v0.6.0 to v1.2.1 to match the version used by buildah-remote-oci-ta. Ref: KATA-5098 Signed-off-by: Daniel Kreling <dkreling@redhat.com> Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
dbkreling
force-pushed
the
kata-5098-sbom-syft
branch
from
July 4, 2026 00:09
b1d6529 to
e8982d1
Compare
Collaborator
Author
|
As mentioned by @littlejawa on PR #254 (review) this implementation makes use of syft and mobster to create the SBOMs, similar to what we've been doing with other components. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace the empty SBOM placeholder with a proper SPDX 2.3 SBOM generated by syft and mobster, matching the approach used by osc-caa and other OSC components.
The RPM database and /etc/os-release are extracted from the QCOW2 guest image via virt-copy-out and transferred back to the Tekton pod. Syft scans the RPM database to produce a complete package inventory with PURLs, CPEs, and licenses. Mobster wraps the syft output with OCI image metadata and a reference to the osc-podvm-payload base image.
Ref: KATA-5098