What is SLSA?
IntermediateConceptSBOM
Answer
Short answer
SLSA ("salsa", Supply-chain Levels for Software Artifacts) is a framework of increasing security levels for how software is built. It focuses on provenance — signed, verifiable metadata proving which source, which builder and which steps produced an artifact — so consumers can detect tampering.
Build levels (SLSA v1.0)
| Level | Requirement (simplified) |
|---|---|
| Build L1 | Provenance exists describing how the artifact was built |
| Build L2 | Hosted build platform generates signed provenance |
| Build L3 | Hardened, isolated builds; provenance can't be forged by the build itself |
Provenance in practice
# GitHub Actions: generate signed build provenance
- uses: actions/attest-build-provenance@v1
with:
subject-name: ghcr.io/org/shop-api
subject-digest: ${{ steps.push.outputs.digest }}
push-to-registry: true
gh attestation verify oci://ghcr.io/org/shop-api@sha256:... --owner org
What to say in the interview
"SLSA defines levels of build integrity centred on signed provenance — where, how and from which source an artifact was built. Using hosted CI that generates signed provenance gets you to Build L2, and admission checks can verify it before deployment."
More on SBOM
What is an SBOM and how do you generate one?BeginnerWhat is an SBOM and why does it matter?BeginnerWhat are SPDX and CycloneDX?BeginnerHow do you generate an SBOM with Syft?BeginnerHow do you scan an SBOM for vulnerabilities with Grype or Trivy?BeginnerWhat should an SBOM contain? (NTIA minimum elements)Intermediate