Skip to content

Foundation inventory, provenance, and SBOM

Three documents describe a foundation without changing what it runs. Each is digest-bound, and all three are covered by the foundation builder's signature alongside the foundation digest itself.

flowchart LR
  B["Foundation build"]
  B --> F["Foundation manifest<br/>what it runs"]
  B --> I["Inventory<br/>what was observed in it"]
  B --> S["SBOM<br/>what it is made of"]
  B --> P["Provenance<br/>how it was built"]
  I --> S
  I --> P
  S --> P

The inventory

The complete observed contents of one foundation build. It is what the baseline is judged against, because the correspondence between an exported object and its SONAME is an observed fact rather than a declared one.

Covered surface Records
rootfs_files Files in the root filesystem
component_store_files Files in the component store
python_distributions Python distributions present
operating_system_packages System packages present
native_objects Native objects present
executable_bundles Executable bundles present
abi_tags ABI tags observed
soname_closure The SONAME dependency closure
accelerator_constraints Accelerator constraints observed

Completeness is part of the contract: all nine surfaces are covered, so an inventory describes the whole build rather than a sample of it.

The SBOM

Digest-bound bill of materials evidence, in one of two formats.

Field Meaning
format spdx-2.3-json or cyclonedx-1.6-json
document_digest The SBOM document itself
foundation_digest, rootfs_digest, component_store_digest, inventory_digest What it describes
coverage Seven surfaces, each covered
generator.name, generator.version, generator.ruleset_digest What produced it, and under which ruleset
sbom_digest Digests the complete SBOM evidence

Coverage spans the rootfs, component store, Python distributions, operating system packages, native objects, executables, and accelerator user space.

The generator's ruleset digest is recorded, so an SBOM can be reproduced against the rules that produced it rather than against whatever the tool does today.

The provenance

How the foundation was built, bound to what was built.

Field Meaning
foundation_digest, rootfs_digest, component_store_digest What was produced
inventory_digest, sbom_digest The evidence produced alongside it
build_recipe_digest The recipe that was run
material_digests The inputs it consumed
builder_identity Who built it
build_invocation_id Which invocation
provenance_digest Digests the complete build provenance

Why they are separate from the foundation digest

foundation_digest covers executable facts. These three describe those facts, so binding them into it would make a re-run of an SBOM generator change the substrate.

They are bound instead through the attestation digest, which the signature covers:

signature.signed_digest must bind foundation, inventory, SBOM and provenance
Question Document
What does this foundation run? The manifest, identified by foundation_digest
What is actually inside it? The inventory
What licences and components does it contain? The SBOM
How was it produced, and from what? The provenance
Are all four the same build? The signature

Related: Artifact and supply-chain integrity covers how this evidence is used during review.