SLSA in depth
Reaching SLSA Build levels in practice
For most teams, SLSA Build levels are reached by using the right features of a hosted CI system rather than building new infrastructure:
- Build L1: generate provenance for each artifact, describing the source, build steps and outputs. Many CI systems and tools can emit an in-toto attestation in the SLSA provenance format.
- Build L2: move builds to a hosted platform that generates and signs provenance itself, so a developer cannot forge it from a laptop. GitHub artifact attestations and similar features in other platforms fit here.
- Build L3: make sure builds run in isolated, ephemeral environments and that signing keys are not accessible to user-defined build steps. Reusable, centrally controlled workflows, such as the SLSA GitHub generator's, are a common way to meet this.
Alongside build levels, basic source hygiene matters: protected branches, required reviews and no direct pushes to release branches. The newer Source track describes these controls formally.
Example: verifying images before deployment
Example: a company builds container images in CI on every merge to main. The pipeline produces a signed SLSA provenance attestation and an SBOM, both attached to the image digest in the registry. In each Kubernetes cluster, an admission policy, written in Kyverno or enforced with the Sigstore policy controller, checks that every image comes from the company registry, has valid provenance signed by the expected CI identity, and was built from the company's own repository and main branch. A developer who builds an image locally and pushes it to the registry cannot deploy it, because it has no valid provenance. This turns provenance from a document into an enforced control.
Verifying provenance
Producing provenance is half the job; consumers must check it. Verification usually confirms:
- The signature is valid and the signer is the expected build platform identity.
- The source repository and branch or tag match what you expect.
- The build workflow or builder ID matches an approved one.
- The artifact digest matches the one being deployed.
Tools include slsa-verifier, the GitHub CLI's attestation verification and cosign's attestation verification, often wired into admission control through policy as code.
Measuring progress
| Measure | Why it matters |
|---|
| Share of production artifacts with signed provenance | Coverage of the control |
| Share of deployments verified at admission | Whether provenance is actually enforced |
| Build level reached per pipeline | Maturity across teams |
| Exceptions granted and their age | Where the control is bypassed |
Typical problems are generating provenance but never verifying it, long-lived signing keys stored as CI secrets that any build step can read, self-hosted runners shared across untrusted projects, and treating SLSA as a one-time certification rather than an ongoing control. SLSA complements SBOMs and fits within DevSecOps and CI/CD pipelines. See the secure software supply chain reference architecture. Gepton implements provenance and verification in DevSecOps.