Class in Supply-chain Levels for Software Artifacts (SLSA)
SlsaBuildProvenance
The predicate that says how a build platform produced a set of artifacts, so that consumers can verify the build met their expectations and others can rebuild it.
URI: slsa:class/SlsaBuildProvenance
classDiagram
class SlsaBuildProvenance
click SlsaBuildProvenance href "../../classes/SlsaBuildProvenance/"
SlsaPredicate <|-- SlsaBuildProvenance
click SlsaPredicate href "../../classes/SlsaPredicate/"
SlsaBuildProvenance : build_definition
SlsaBuildProvenance --> "1" SlsaBuildDefinition : build_definition
click SlsaBuildDefinition href "../../classes/SlsaBuildDefinition/"
SlsaBuildProvenance : predicate_kind
SlsaBuildProvenance : run_details
SlsaBuildProvenance --> "1" SlsaRunDetails : run_details
click SlsaRunDetails href "../../classes/SlsaRunDetails/"
Inheritance#
- InTotoPredicate
- SlsaPredicate
- SlsaBuildProvenance
- SlsaPredicate
Slots#
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| build_definition | 1 SlsaBuildDefinition | The inputs to the build; required at Build L1 | direct |
| run_details | 1 SlsaRunDetails | What is specific to this execution of the build; required at Build L1 | direct |
| predicate_kind | 0..1 String | The kind of predicate, one of this class’s descendants | InTotoPredicate |
Usages#
| used by | used in | type | used |
|---|---|---|---|
| SlsaBuildImage | provenance | range | SlsaBuildProvenance |
In Subsets#
Comments#
- The statement that carries it has predicate_type https://slsa.dev/provenance/v1.
- Complicated provenance generation was the challenge with the most issues in the study (Tamanna et al., 2024, CI.1).
See Also#
Identifier and Mapping Information#
Schema Source#
- from schema: https://w3id.org/lmodel/slsa
Mappings#
| Mapping Type | Mapped Value |
|---|---|
| self | slsa:SlsaBuildProvenance |
| native | slsa:SlsaBuildProvenance |
| exact | slsa_dev:provenance/v1 |
| close | spdx_build:Build |
LinkML Source#
Direct#
YAML
name: SlsaBuildProvenance
description: The predicate that says how a build platform produced a set of artifacts,
so that consumers can verify the build met their expectations and others can rebuild
it.
comments:
- The statement that carries it has predicate_type https://slsa.dev/provenance/v1.
- Complicated provenance generation was the challenge with the most issues in the
study (Tamanna et al., 2024, CI.1).
in_subset:
- slsa_build_track
from_schema: https://w3id.org/lmodel/slsa
see_also:
- https://slsa.dev/spec/v1.2/build-provenance#provenance
exact_mappings:
- slsa_dev:provenance/v1
close_mappings:
- spdx_build:Build
is_a: SlsaPredicate
attributes:
build_definition:
name: build_definition
description: The inputs to the build; required at Build L1.
from_schema: https://w3id.org/lmodel/slsa/slsa_build
aliases:
- buildDefinition
rank: 1000
domain_of:
- SlsaBuildProvenance
range: SlsaBuildDefinition
required: true
inlined: true
run_details:
name: run_details
description: What is specific to this execution of the build; required at Build
L1.
from_schema: https://w3id.org/lmodel/slsa/slsa_build
aliases:
- runDetails
rank: 1000
domain_of:
- SlsaBuildProvenance
range: SlsaRunDetails
required: true
inlined: true
Induced#
YAML
name: SlsaBuildProvenance
description: The predicate that says how a build platform produced a set of artifacts,
so that consumers can verify the build met their expectations and others can rebuild
it.
comments:
- The statement that carries it has predicate_type https://slsa.dev/provenance/v1.
- Complicated provenance generation was the challenge with the most issues in the
study (Tamanna et al., 2024, CI.1).
in_subset:
- slsa_build_track
from_schema: https://w3id.org/lmodel/slsa
see_also:
- https://slsa.dev/spec/v1.2/build-provenance#provenance
exact_mappings:
- slsa_dev:provenance/v1
close_mappings:
- spdx_build:Build
is_a: SlsaPredicate
attributes:
build_definition:
name: build_definition
description: The inputs to the build; required at Build L1.
from_schema: https://w3id.org/lmodel/slsa/slsa_build
aliases:
- buildDefinition
rank: 1000
owner: SlsaBuildProvenance
domain_of:
- SlsaBuildProvenance
range: SlsaBuildDefinition
required: true
inlined: true
run_details:
name: run_details
description: What is specific to this execution of the build; required at Build
L1.
from_schema: https://w3id.org/lmodel/slsa/slsa_build
aliases:
- runDetails
rank: 1000
owner: SlsaBuildProvenance
domain_of:
- SlsaBuildProvenance
range: SlsaRunDetails
required: true
inlined: true
predicate_kind:
name: predicate_kind
description: The kind of predicate, one of this class's descendants.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:predicate_kind
designates_type: true
owner: SlsaBuildProvenance
domain_of:
- InTotoPredicate
range: string