Verifying Kapitan generator attestations with gh and cosign
The article explains how to verify OCI artifacts carrying GitHub artifact attestations for Kapitan generators, using gh attestation verify or cosign verify-attestation. It describes the release workflow, which pushes each generator to ghcr.io and attaches a SLSA provenance, an SPDX SBOM, and a fixture output diff, all signed by one workflow identity. The worked example uses mutate 0.1.0 from index 48, with the digest taken from a verified index rather than a mutable tag. It lists the policy checks to apply, including predicate type, owner, workflow identity, OIDC issuer, and the yanked field. The author also shows how to inspect the attached bundles through oras discover and the --bundle-from-oci option.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in