SBOM, provenance and release verification
An SBOM lists software components, provenance describes how an artifact was produced, and a signature can authenticate an assertion under a verified signing identity. They answer different questions. A release gate must bind required evidence to the exact image digest and evaluate its policy rather than merely check that files exist.
Worked example
Work offline: the scenarios and evidence are synthetic. Do not run hosted workflows, contact registries, use real credentials or deploy anything for this lesson. Keep the exercise offline. Before any separately authorized runtime check, verify the effective daemon, builder, runner or deployment identity as applicable; use synthetic data, reviewed inputs and bounded resources. Record missing evidence as NOT RUN.
Fictional candidate ASBOM subject = AProvenance subject = ATrusted builder = yes (assumed verified externally)Policy scan result = pass (synthetic)Signature subject = BDecision = BLOCK: signature subject mismatchAn inventory is useful for dependency review, but it does not prove there are no vulnerabilities. A provenance statement may include builder identity, inputs and other metadata; check the attestation type and its actual claims. Docker Buildx can generate SBOM and provenance attestations with supported exporters; exporting only to a classic local image store may not preserve them. Do not pass real secrets through build arguments: some provenance modes may disclose them. Verify the signature and its expected signer against trusted policy, verify subject digests, and check scan freshness, scope and approved exceptions. The sample assumes some checks have already been performed externally and is not an actual SBOM, cryptographic signature, or vulnerability scan. The mismatched signature cannot satisfy the requirement for A. Distinguish generating an attestation from verifying its trust and claims. Record the selected artifact and subject scope, expected identity, verification outcome and evidence freshness. The model accepts externally verified flags; it neither checks a signature nor parses an SBOM.
Common mistake
A signed artifact is not automatically safe. A valid signature from an unexpected identity, or one over the wrong digest, must not satisfy the release policy.
Manual practice
Correct the fictional evidence set on paper, then identify two checks still required before trusting the scan and signature. Explain how your release gate should react to missing evidence.
Worksheet: lab-fixtures/docker-ci-cd/04-artifact-evidence/scenario.txt.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
SBOM, provenance and release verification — Knowledge check
Apply release and CI/CD reasoning to a fictional scenario.
During release evidence review, which information should an SBOM provide?
Candidate A has a valid signature over B. What is the correct release decision?
Why must scan freshness be checked?