SLSA
Theme
Text size
GitHub Menu

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

SlsaBuildImage

The template a build environment is instantiated from, such as a VM or container image: root filesystem, guest OS and packages, build executor and build agent.

URI: slsa:class/SlsaBuildImage

 classDiagram
    class SlsaBuildImage
    click SlsaBuildImage href "../../classes/SlsaBuildImage/"
      SlsaBuildImage : build_env_level
        
          
    
        
        
        SlsaBuildImage --> "0..1" SlsaBuildEnvironmentLevel : build_env_level
        click SlsaBuildEnvironmentLevel href "../../enums/SlsaBuildEnvironmentLevel/"
    

        
      SlsaBuildImage : image_uri
        
      SlsaBuildImage : produced_by
        
          
    
        
        
        SlsaBuildImage --> "0..1" SlsaBuildImageProducer : produced_by
        click SlsaBuildImageProducer href "../../classes/SlsaBuildImageProducer/"
    

        
      SlsaBuildImage : provenance
        
          
    
        
        
        SlsaBuildImage --> "0..1" SlsaBuildProvenance : provenance
        click SlsaBuildProvenance href "../../classes/SlsaBuildProvenance/"
    

        
      

Slots#

NameCardinality and RangeDescriptionInheritance
build_env_level0..1
SlsaBuildEnvironmentLevel
The SLSA Build Environment level this meetsdirect
image_uri1
Uri
The URI that identifies the image version, such as an OCI reference with its …direct
provenance0..1
SlsaBuildProvenance
The build provenance of the image itself, required at Build Environment L1direct
produced_by0..1
SlsaBuildImageProducer
The party that created and distributes the imagedirect

Usages#

used byused intypeused
SlsaDocumentbuild_imagesrangeSlsaBuildImage
SlsaBuildEnvironmentAttestationbuild_imagerangeSlsaBuildImage

In Subsets#

Comments#

  • The Build Environment track is a working draft and not part of the SLSA v1.2 release.

See Also#

Identifier and Mapping Information#

Schema Source#

Mappings#

Mapping TypeMapped Value
selfslsa:SlsaBuildImage
nativeslsa:SlsaBuildImage

LinkML Source#

Direct#

YAML
name: SlsaBuildImage
description: 'The template a build environment is instantiated from, such as a VM
  or container image: root filesystem, guest OS and packages, build executor and build
  agent.'
comments:
- The Build Environment track is a working draft and not part of the SLSA v1.2 release.
in_subset:
- slsa_build_environment_track
from_schema: https://w3id.org/lmodel/slsa
see_also:
- https://slsa.dev/spec/draft/build-env-track-basics#build-environment-model
slots:
- build_env_level
attributes:
  image_uri:
    name: image_uri
    description: The URI that identifies the image version, such as an OCI reference
      with its digest.
    from_schema: https://w3id.org/lmodel/slsa/slsa_build_environment
    rank: 1000
    identifier: true
    domain_of:
    - SlsaBuildImage
    range: uri
  provenance:
    name: provenance
    description: The build provenance of the image itself, required at Build Environment
      L1.
    from_schema: https://w3id.org/lmodel/slsa/slsa_build_environment
    rank: 1000
    domain_of:
    - SlsaBuildImage
    range: SlsaBuildProvenance
    inlined: true
  produced_by:
    name: produced_by
    description: The party that created and distributes the image.
    from_schema: https://w3id.org/lmodel/slsa/slsa_build_environment
    rank: 1000
    domain_of:
    - SlsaBuildImage
    range: SlsaBuildImageProducer
    inlined: true

Induced#

YAML
name: SlsaBuildImage
description: 'The template a build environment is instantiated from, such as a VM
  or container image: root filesystem, guest OS and packages, build executor and build
  agent.'
comments:
- The Build Environment track is a working draft and not part of the SLSA v1.2 release.
in_subset:
- slsa_build_environment_track
from_schema: https://w3id.org/lmodel/slsa
see_also:
- https://slsa.dev/spec/draft/build-env-track-basics#build-environment-model
attributes:
  image_uri:
    name: image_uri
    description: The URI that identifies the image version, such as an OCI reference
      with its digest.
    from_schema: https://w3id.org/lmodel/slsa/slsa_build_environment
    rank: 1000
    identifier: true
    owner: SlsaBuildImage
    domain_of:
    - SlsaBuildImage
    range: uri
    required: true
  provenance:
    name: provenance
    description: The build provenance of the image itself, required at Build Environment
      L1.
    from_schema: https://w3id.org/lmodel/slsa/slsa_build_environment
    rank: 1000
    owner: SlsaBuildImage
    domain_of:
    - SlsaBuildImage
    range: SlsaBuildProvenance
    inlined: true
  produced_by:
    name: produced_by
    description: The party that created and distributes the image.
    from_schema: https://w3id.org/lmodel/slsa/slsa_build_environment
    rank: 1000
    owner: SlsaBuildImage
    domain_of:
    - SlsaBuildImage
    range: SlsaBuildImageProducer
    inlined: true
  build_env_level:
    name: build_env_level
    description: The SLSA Build Environment level this meets.
    in_subset:
    - slsa_build_environment_track
    from_schema: https://w3id.org/lmodel/slsa
    rank: 1000
    slot_uri: slsa:build_env_level
    owner: SlsaBuildImage
    domain_of:
    - SlsaBuildImage
    - SlsaBuildEnvironmentAttestation
    range: SlsaBuildEnvironmentLevel