-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Generate SBOMs using Syft instead of bom #32307
Conversation
47767be
to
db2488a
Compare
@joestringer @aanm @nbusseneau – marked this as draft for now, if the changes so far look OK to you, I will extend this to the other image build steps and update our current SBOM documentation. |
The approach looks pretty straightforward to me 👍 Given that users may be leveraging SBOM and the format would change, I bumped this to At a glance we may need to update some other docs files to account for the format change:
|
db2488a
to
9a3abe3
Compare
Syft appears to offer higher quality results, including being able to identify the versions of individual libraries in golang binaries, which is not something that we were able to do efficiently with `bom`. Syft can also generate the SBOMs in spdx-json format, which was a pending TODO from our initial implementation of SBOM generation. Signed-off-by: Feroz Salam <feroz.salam@isovalent.com>
9a3abe3
to
42dee36
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
/test |
Syft (https://github.com/anchore/syft) appears to offer higher quality results, including being able to identify the versions of individual libraries in golang binaries, which is not something that we were able to do efficiently with
bom
.Syft can also generate the SBOMs in spdx-json format, which was a pending TODO from our initial implementation of SBOM generation.
I have successfully run the proposed workflow (with some tweaks to ensure the correct code triggers) here: https://github.com/cilium/cilium/actions/runs/8930115426/job/24529471140?pr=32307.