SLSA
Theme
Text size
GitHub Menu

Enumeration in Supply-chain Levels for Software Artifacts (SLSA)

SlsaBuildLevel

The levels of the SLSA Build track, each adding protection against tampering with the build or its provenance.

URI: slsa:enum/SlsaBuildLevel

Permissible Values#

ValueMeaningDescription
SLSA_BUILD_LEVEL_0NoneNo requirements; the absence of SLSA, as for development or test builds
SLSA_BUILD_LEVEL_1NoneProvenance exists and shows how the package was built; it prevents mistakes b…
SLSA_BUILD_LEVEL_2NoneA hosted platform generates and signs the provenance, so tampering after the …
SLSA_BUILD_LEVEL_3NoneA hardened platform prevents runs from influencing one another and keeps sign…

Slots#

NameDescription
build_levelThe highest SLSA Build level the platform’s provenance can meet

In Subsets#

See Also#

Identifier and Mapping Information#

Schema Source#

LinkML Source#

YAML
name: SlsaBuildLevel
description: The levels of the SLSA Build track, each adding protection against tampering
  with the build or its provenance.
in_subset:
- slsa_build_track
from_schema: https://w3id.org/lmodel/slsa
see_also:
- https://slsa.dev/spec/v1.2/build-track-basics
rank: 1000
permissible_values:
  SLSA_BUILD_LEVEL_0:
    text: SLSA_BUILD_LEVEL_0
    description: No requirements; the absence of SLSA, as for development or test
      builds.
  SLSA_BUILD_LEVEL_1:
    text: SLSA_BUILD_LEVEL_1
    description: Provenance exists and shows how the package was built; it prevents
      mistakes but is easy to forge.
  SLSA_BUILD_LEVEL_2:
    text: SLSA_BUILD_LEVEL_2
    description: A hosted platform generates and signs the provenance, so tampering
      after the build needs an explicit attack.
    comments:
    - Keeping the provenance generator, the verifier and signing tools such as cosign
      working in CI workflows was a common difficulty (Tamanna et al., 2024, CI.2).
  SLSA_BUILD_LEVEL_3:
    text: SLSA_BUILD_LEVEL_3
    description: A hardened platform prevents runs from influencing one another and
      keeps signing material away from build steps, so forging provenance needs an
      exploit.
    comments:
    - Practitioners reported difficulty in generating provenance for the higher levels
      (Tamanna et al., 2024, CI.1).