-
Notifications
You must be signed in to change notification settings - Fork 567
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
generating SBOMs for both cosign and cosigned projects and sign them #959
Comments
The syft "sbom-action" might be a way to get started with almost no effort, even if this workflow step is later replaced in a future iteration. Also, I just pulled in anchore/syft#510, which would simplify the SBOM generation + attestation workflow here. |
We have helped with the SBOM generation for Kyverno, Trivy, gosec, Buildpack, etc. The following Github action is utilised to generate the SBOM, https://github.com/CycloneDX/gh-gomod-generate-sbom . It is simple and straightforward and generates an accurate SBOM with a dependency graph. @nscuro has already addressed @dlorenc's concern ( CycloneDX/cyclonedx-gomod#20 ) related to the accuracy of SBOM. The team is happy to address any further concerns and provide any help with the SBOM generation. Cc: @nscuro, @stevespringett, @coderpatros, @DarthHater, @tricky42, @knqyf263, @masahiro331, @samj1912, @natalieparellano, @ShubhamPalriwala, @JimBugwadia, @ccojocar, @mmorel-35 |
As cosign uses goreleaser, goreleaser/goreleaser#2597 (and consequently goreleaser/goreleaser#2618) may be relevant. |
kindly reminder @dlorenc |
For |
oh, that's so nice, would you mind sharing the PR on the ko side? |
There were a few, but this connects a few of the dots: ko-build/ko#511 It's merged at HEAD. Please try it out and report any issues! |
We (w/@Dentrax) would like to add CycloneDX support as well. May we do this? Because the CycloneDX community provides great go modules that we can use for this. |
works like a charm @mattmoor 🤩 |
@developer-guy works for me! cc @imjasonh |
Just a nit: You should try |
what about making ko compliant with CycloneDX format, and also supporting |
SPDX was always just a starting point. I think we'd love to have CycloneDX support as well. |
Description
we (w/@Dentrax) thought that there are no SBOMs files generated and signed for both
cosign
andcosigned
projects, so we're proposing to generate, sign them right after generating them via cosign's private key, and attach them to the proper registry. I'd like to list the tools that can help us to do that:as an example the
Kyverno
project is already doing this:👀 github.com/kyverno/kyverno/pull/2438/
cc: @luhring @puerco @cpanato @nishakm
The text was updated successfully, but these errors were encountered: