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

SBOM generation #7088

Open
Tracked by #9249 ...
BobyMCbobs opened this issue Apr 14, 2023 · 5 comments
Open
Tracked by #9249 ...

SBOM generation #7088

BobyMCbobs opened this issue Apr 14, 2023 · 5 comments

Comments

@BobyMCbobs
Copy link
Contributor

BobyMCbobs commented Apr 14, 2023

Feature Request

Description

SBOMs are an important way to prove what images and programs are made up of.

They can be generated with

then signed and attested with cosign and stored in the container registry as tags
https://docs.sigstore.dev/cosign/attestation/

related: #7087

keen to hear thoughts!

@smira
Copy link
Member

smira commented Apr 18, 2023

Yep, I fully agree we should enable the SBOMs, as it should be an easy step. There was some debate internally on whether cosign is a good approach from security perspective, but it should anyways be better than nothing.

@BobyMCbobs
Copy link
Contributor Author

In terms of generating the SBOMs, would something like https://github.com/moby/buildkit/blob/master/docs/attestations/sbom.md be useful or go version -m <PROGRAM>?

Then the sboms can be attested with

cosign attest --predicate /path/to/sbom-spdx.json ghcr.io/siderolabs/talos:tag -y

@smira
Copy link
Member

smira commented Apr 20, 2023

SBOM is part of the manifest, so cosign will sign it with the image itself.

We need to propagate SBOMs from pkgs which is something we should look into, but it won't be trivial.

Copy link

github-actions bot commented Jul 4, 2024

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Jul 4, 2024
Copy link

github-actions bot commented Jul 9, 2024

This issue was closed because it has been stalled for 7 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 9, 2024
@smira smira reopened this Jul 9, 2024
@smira smira removed the Stale label Jul 9, 2024
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

No branches or pull requests

2 participants