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".
More on Supply Chain, SBOM, Signing and Image/IaC Scanning
What is a software supply chain attack? Give examples.BeginnerExplain dependency confusion and typosquatting.IntermediateWhat is an SBOM and why do we need one?BeginnerCycloneDX vs SPDX: how do they differ?IntermediateHow do you generate and use an SBOM with Syft and Grype?BeginnerWhat is VEX?Intermediate