Part IV — Expert Production Engineering · Chapter 24 · Lesson 3 of 7 · 2 min read
Lesson 3: SBOMs, Provenance, Checksums, Dependency and License Review
Lesson level: Expert
Purpose: Supply-chain records are useful only when their coverage and trust are explicit. Unknown licensing and unverified dependency provenance remain release blockers.
Learning Objectives
- Explain what the supplied evidence establishes.
- Identify missing coverage and manual review work.
- Create reproducible positive and negative checks.
3.1 Concepts
A software bill of materials identifies components; provenance describes how artifacts were built; checksums identify bytes; signatures authenticate the signed evidence. None is a substitute for reviewing dependency origin, vulnerabilities, licensing, and build isolation. The source generator emits CycloneDX-shaped inventory and in-toto/SLSA-labelled provenance records, but those labels do not confer independent attestation or a certified assurance level.
3.2 Annotated Example
generate_sbom inventories project files and adds the package component. dependency_inventory parses a limited pyproject.toml dependency section and marks licenses UNKNOWN-CHECK-REQUIRED. It is not a complete resolver of transitive dependencies, optional integrations, or verified license texts. build_provenance uses a local builder identity and empty resolvedDependencies. Augment evidence with actual build logs, dependency resolution, and trusted signing.
3.3 Guided Practice
Match every dependency used by FastAPI serving, Redis, tracing, and connectors to its pinned version, origin, license decision, and relevant security evidence. Explain why a generated UNKNOWN entry cannot be approved automatically.
3.4 Common Mistakes
Do not call a schema label third-party certification, assume file inventories enumerate all deployed dependencies, or publish a private build path or credential in provenance.
3.5 Hands-On Lab
- Generate inventory with explicit RC2 version and inspect every reported component.
- Resolve direct, transitive, and optional deployed dependencies using your approved build process.
- Review actual license texts and document exceptions or restrictions.
- Bind the final reviewed inventory and provenance to verified artifact digests.
Deliverable: Reviewed inventory or executed gate matrix, actual evidence, and open-item register.
3.6 Review Questions
What does each evidence type prove? Which dependency classes can the parser miss? Why does a local provenance record not establish trusted build attestation?
3.7 Applied Challenge
Create a release evidence matrix linking each deployed dependency and artifact to source, digest, license approval, and remediation status.
Lesson Summary
Supply-chain records are useful only when their coverage and trust are explicit. Unknown licensing and unverified dependency provenance remain release blockers.
Lesson status: Draft complete; ready for review. Source-checked, not a release approval.