Interview Prep/DevSecOps/Rapid-Fire Tool Questions

Cosign keyless verify command that pins the GitHub Actions workflow identity?

IntermediateProductionRapid-Fire Tool Questions
Answer
cosign verify registry.example.com/app@sha256:abc... \
  --certificate-identity-regexp '^https://github.com/acme/app/.github/workflows/release.yml@refs/heads/main$' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com

Without identity and issuer flags, any valid Sigstore signature would pass.

All DevSecOps questions

More on Rapid-Fire Tool Questions