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

Generate SBOM and Provenance metadata for Ratify release assets #1436

Open
1 task
akashsinghal opened this issue May 2, 2024 · 1 comment
Open
1 task
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@akashsinghal
Copy link
Collaborator

What would you like to be added?

Ratify publishes images to GHCR. Ratify should generate and attach SBOM + provenance metadata to the published images.

Anything else you would like to add?

No response

Are you willing to submit PRs to contribute to this feature?

  • Yes, I am willing to implement it.
@akashsinghal akashsinghal added enhancement New feature or request triage Needs investigation labels May 2, 2024
@akashsinghal akashsinghal removed the triage Needs investigation label Jun 3, 2024
@akashsinghal akashsinghal added this to the v1.3.0 milestone Jun 3, 2024
@akashsinghal
Copy link
Collaborator Author

There are 2 approaches here:

  1. Use docker buildx's --attest capability to generate Provenance and SBOM intoto attestations. These are attached to the image index as OCI images. This does NOT use the referrer method. However, multiple projects including GK already use this approach. It is also the simplest to implement.
  2. Generate SBOM SLSA provenance manually using corresponding tools and then use ORAS to attach to the image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant