Interview Prep/DevSecOps/Supply Chain, SBOM, Signing and Image/IaC Scanning

What is an attestation and how does it differ from a signature?

IntermediateConceptSupply Chain, SBOM, Signing and Image/IaC Scanning
Answer

A signature says "this identity vouches for this artifact". An attestation is a signed statement about an artifact with a typed predicate: SLSA provenance, an SBOM, a vulnerability scan result, a test result. It follows the in-toto attestation format.

cosign attest --yes --predicate sbom.cdx.json --type cyclonedx app@sha256:<digest>
cosign verify-attestation --type cyclonedx app@sha256:<digest> ...

Admission policies can then require "has provenance from our builder" rather than just "is signed".

All DevSecOps questions Roadmap: Supply chain, secrets & identity

More on Supply Chain, SBOM, Signing and Image/IaC Scanning