Artifact provenance and SBOM
Follow an artifact from source to cluster
A container supply chain includes the source revision, dependencies, builder, registry, release approval and deployed image. A Kubernetes Deployment declares which image to run; it does not establish how the image was built. For the fictional bookstore, record the source revision, locked dependency inputs, build output digest and release decision together. Review these as separate pieces of evidence, not as interchangeable security claims. A compromised source or builder can still produce a correctly identified artifact.
source revision → reviewed inputs → build → digest → evidence → promotionTags identify names; digests identify content
A tag such as catalog:stable can be moved by a registry publisher. A digest reference identifies a particular image manifest or image index. For multi-platform images, the index points to platform-specific manifests; record which subject the policy verifies and which platform image actually runs. Digest pinning prevents ordinary tag drift but does not establish author identity, patch status or runtime safety. Rebuild and review when dependencies need security fixes.
registry.example.invalid/bookstore/catalog@sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaSeparate signatures, attestations and provenance
A signature can provide integrity and signer evidence when verified with trusted material and expected identity. An attestation is a statement about an artifact, with a subject and typed claims. Provenance is one kind of attestation describing how an output was produced. Verification must bind the evidence to the intended digest and inspect the expected builder and source. A valid signature from an unrelated signer, or provenance for a different digest, does not meet the bookstore policy.
requested digest: sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaprovenance subject: sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbDecision: reject mismatched subjectUse SLSA as an assurance framework
SLSA distinguishes tracks and requirements for strengthening software supply-chain assurance. Its Build track concerns provenance and protection against build tampering. Higher assurance requires evidence of the relevant requirements; a JSON field claiming a level is not proof. For a release review, document which build platform, source and inputs are expected, who can change the workflow, and which claims the verifier actually checked. A SLSA assessment is separate from application vulnerability testing.
Illustrative expectation: builder=bookstore-ci; source=approved revision; subject=release digestRead an SBOM and vulnerability report together
A software bill of materials (SBOM) lists detected software components and may describe versions and relationships. SPDX and CycloneDX are examples of SBOM formats. An SBOM is not a vulnerability verdict. A scanner such as Trivy matches detectable components against known advisories; results depend on coverage, database freshness and the target. Record image digest, scanner version, database timestamp, platform and scan scope. A zero-finding report can miss unknown issues, unsupported components or runtime misconfiguration. The fixture is a simplified inventory, not a standards-compliant SBOM.
catalog-lib 2.4.0 | fictional advisory LAB-001 | fix 2.4.1Action: rebuild, rescan, and review the new digestPractice: compare two releases
Open lab-fixtures/supply-chain/artifact-cases.json. For each record compare the requested digest, verified subject, signer, issuer, builder and source revision. Then inspect the inventory and scan report independently. Identify which claims fail and state what additional evidence is needed. The supplied checker uses prefilled verification outcomes and cannot validate cryptography or actual SLSA compliance. Keep old and new digest evidence separate.
python lab-fixtures/supply-chain/validate_offline.pyFurther reading
- Image names, digests, pull policies and imagePullSecrets.
- Signature verification and expected certificate identity and issuer.
- Verification of in-toto attestations.
- Build track and increasing provenance assurance.
- SLSA tracks and scoped assurances.
- Known vulnerability detection, package coverage and databases.
- SBOM as a scanning input.
Check Your Understanding
Solidify your learning with the interactive assessment directly below this lesson.
Concept Quiz & Questions
Artifact provenance and SBOM — knowledge check
Interpret fictional release evidence.
What does an image digest establish by itself?
The attestation subject differs from the requested digest. What should the gate do?
What does an SBOM primarily describe?
A signature is valid but the signer is unexpected. What follows?
What establishes a SLSA assurance level?