Skip to content

Class: BuildImage

The template for a build environment, such as a VM or container image. Comprises the root filesystem, pre-installed guest OS and packages, the build executor, and the build agent. Created by a build image producer and consumed by the hosted build platform.

URI: slsa:BuildImage

 classDiagram
    class BuildImage
    click BuildImage href "../BuildImage/"
      BuildImage : buildEnvLevel





        BuildImage --> "0..1" BuildEnvLevelEnum : buildEnvLevel
        click BuildEnvLevelEnum href "../BuildEnvLevelEnum/"



      BuildImage : id

      BuildImage : provenance





        BuildImage --> "0..1" BuildProvenance : provenance
        click BuildProvenance href "../BuildProvenance/"



Slots

Name Cardinality and Range Description Inheritance
id 1
String
URI uniquely identifying this build image version (e direct
provenance 0..1
BuildProvenance
SLSA Build Provenance for a build image, describing how the image itself was ... direct
buildEnvLevel 0..1
BuildEnvLevelEnum
The SLSA Build Environment Level supported or represented, reflecting the str... direct

Usages

used by used in type used
BuildEnvironmentAttestation buildImage range BuildImage

In Subsets

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/lmodel/slsa

Mappings

Mapping Type Mapped Value
self slsa:BuildImage
native slsa:BuildImage

LinkML Source

Direct

name: BuildImage
description: The template for a build environment, such as a VM or container image.
  Comprises the root filesystem, pre-installed guest OS and packages, the build executor,
  and the build agent. Created by a build image producer and consumed by the hosted
  build platform.
in_subset:
- slsa_build_env_track
from_schema: https://w3id.org/lmodel/slsa
slots:
- id
- provenance
- buildEnvLevel
slot_usage:
  id:
    name: id
    description: URI uniquely identifying this build image version (e.g., an OCI image
      reference with digest).

Induced

name: BuildImage
description: The template for a build environment, such as a VM or container image.
  Comprises the root filesystem, pre-installed guest OS and packages, the build executor,
  and the build agent. Created by a build image producer and consumed by the hosted
  build platform.
in_subset:
- slsa_build_env_track
from_schema: https://w3id.org/lmodel/slsa
slot_usage:
  id:
    name: id
    description: URI uniquely identifying this build image version (e.g., an OCI image
      reference with digest).
attributes:
  id:
    name: id
    description: URI uniquely identifying this build image version (e.g., an OCI image
      reference with digest).
    in_subset:
    - slsa_build_track
    - slsa_source_track
    - slsa_dependency_track
    - slsa_build_env_track
    from_schema: https://w3id.org/lmodel/slsa
    rank: 1000
    alias: id
    owner: BuildImage
    domain_of:
    - Builder
    - Verifier
    - BuildPlatform
    - SourceRepository
    - BuildImage
    range: string
    required: true
  provenance:
    name: provenance
    description: SLSA Build Provenance for a build image, describing how the image
      itself was produced. Required for SLSA Build Environment L1+.
    in_subset:
    - slsa_build_env_track
    from_schema: https://w3id.org/lmodel/slsa
    rank: 1000
    alias: provenance
    owner: BuildImage
    domain_of:
    - BuildImage
    range: BuildProvenance
    inlined: true
  buildEnvLevel:
    name: buildEnvLevel
    description: The SLSA Build Environment Level supported or represented, reflecting
      the strength of the integrity guarantees provided.
    in_subset:
    - slsa_build_env_track
    from_schema: https://w3id.org/lmodel/slsa
    rank: 1000
    alias: buildEnvLevel
    owner: BuildImage
    domain_of:
    - BuildImage
    - BuildEnvironmentAttestation
    range: BuildEnvLevelEnum