chore: add SLSA provenance to release binaries and container images#10048
chore: add SLSA provenance to release binaries and container images#10048gbartolini merged 7 commits intomainfrom
Conversation
|
❗ By default, the pull request is configured to backport to all release branches.
|
16a5b17 to
61a3121
Compare
06b3e10 to
2b87be2
Compare
|
/ok-to-merge no impacto on E2E |
|
@sxd, what shall we do then with one we currently add through bake? |
|
Adding "do not merge" as we should add:
Shall we also install this action? https://github.com/slsa-framework/slsa-verifier/blob/main/actions/installer/README.md (ok in another ticket). |
|
I have slightly modified the security page to mention SLSA Build L3. It's probably enough for now. |
|
@gbartolini The BuildKit provenance added through bake should be kept as-is. It complements rather than conflicts with the SLSA Generator provenance. The two mechanisms coexist on the same image through different attachment methods and serve different purposes:
No changes needed to the existing bake configuration. |
Closes #9440 Signed-off-by: Jonathan Gonzalez V. <[email protected]>
Signed-off-by: Marco Nenciarini <[email protected]>
The SLSA generator's builder-fetch.sh resolves the binary download URL from the git ref and breaks when pinned by SHA instead of tag. See: slsa-framework/slsa-github-generator#4216 Signed-off-by: Marco Nenciarini <[email protected]>
Signed-off-by: Gabriele Bartolini <[email protected]>
Signed-off-by: Gabriele Bartolini <[email protected]>
Add slsa-verifier commands for container images and release binaries to the security documentation. Signed-off-by: Marco Nenciarini <[email protected]>
Signed-off-by: Gabriele Bartolini <[email protected]>
|
Awesome, great, thanks @mnencia. Made some small changes and merging now. |
…10048) Add SLSA3 provenance attestation for release binaries (via slsa-framework generator_generic_slsa3) and container images (via generator_container_slsa3) in both the release and CI workflows, satisfying the OpenSSF Scorecard signed-releases check. Closes #9440 Signed-off-by: Jonathan Gonzalez V. <[email protected]> Signed-off-by: Marco Nenciarini <[email protected]> Signed-off-by: Gabriele Bartolini <[email protected]> Co-authored-by: Marco Nenciarini <[email protected]> Co-authored-by: Gabriele Bartolini <[email protected]> (cherry picked from commit d107281)
…10048) Add SLSA3 provenance attestation for release binaries (via slsa-framework generator_generic_slsa3) and container images (via generator_container_slsa3) in both the release and CI workflows, satisfying the OpenSSF Scorecard signed-releases check. Closes #9440 Signed-off-by: Jonathan Gonzalez V. <[email protected]> Signed-off-by: Marco Nenciarini <[email protected]> Signed-off-by: Gabriele Bartolini <[email protected]> Co-authored-by: Marco Nenciarini <[email protected]> Co-authored-by: Gabriele Bartolini <[email protected]> (cherry picked from commit d107281)
…10048) Add SLSA3 provenance attestation for release binaries (via slsa-framework generator_generic_slsa3) and container images (via generator_container_slsa3) in both the release and CI workflows, satisfying the OpenSSF Scorecard signed-releases check. Closes #9440 Signed-off-by: Jonathan Gonzalez V. <[email protected]> Signed-off-by: Marco Nenciarini <[email protected]> Signed-off-by: Gabriele Bartolini <[email protected]> Co-authored-by: Marco Nenciarini <[email protected]> Co-authored-by: Gabriele Bartolini <[email protected]> (cherry picked from commit d107281)
Add SLSA3 provenance attestation for release binaries (via
slsa-framework generator_generic_slsa3) and container images (via
generator_container_slsa3) in both the release and CI workflows,
satisfying the OpenSSF Scorecard signed-releases check.
Closes #9440