SLSA
Theme
Text size
GitHub Menu

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

SlsaDependencyInventory

The inventory of every third-party build dependency, direct and transitive, of one artifact version.

URI: slsa:class/SlsaDependencyInventory

 classDiagram
    class SlsaDependencyInventory
    click SlsaDependencyInventory href "../../classes/SlsaDependencyInventory/"
      SlsaDependencyInventory : artifact
        
          
    
        
        
        SlsaDependencyInventory --> "1" InTotoResourceDescriptor : artifact
        click InTotoResourceDescriptor href "../../classes/InTotoResourceDescriptor/"
    

        
      SlsaDependencyInventory : dependencies
        
          
    
        
        
        SlsaDependencyInventory --> "*" InTotoResourceDescriptor : dependencies
        click InTotoResourceDescriptor href "../../classes/InTotoResourceDescriptor/"
    

        
      SlsaDependencyInventory : dependency_level
        
          
    
        
        
        SlsaDependencyInventory --> "0..1" SlsaDependencyLevel : dependency_level
        click SlsaDependencyLevel href "../../enums/SlsaDependencyLevel/"
    

        
      

Slots#

NameCardinality and RangeDescriptionInheritance
artifact1
InTotoResourceDescriptor
The artifact whose dependencies are inventorieddirect
dependencies*
InTotoResourceDescriptor
The dependencies, each as a resource descriptordirect
dependency_level0..1
SlsaDependencyLevel
The SLSA Dependency level the producer’s process meets for this artifactdirect

Usages#

used byused intypeused
SlsaDocumentdependency_inventoriesrangeSlsaDependencyInventory

In Subsets#

Comments#

  • The Dependency track is a working draft and not part of the SLSA v1.2 release.
  • A build-time SBOM or a lock file with hashes is a common form of the inventory.

See Also#

Identifier and Mapping Information#

Schema Source#

Mappings#

Mapping TypeMapped Value
selfslsa:SlsaDependencyInventory
nativeslsa:SlsaDependencyInventory

LinkML Source#

Direct#

YAML
name: SlsaDependencyInventory
description: The inventory of every third-party build dependency, direct and transitive,
  of one artifact version.
comments:
- The Dependency track is a working draft and not part of the SLSA v1.2 release.
- A build-time SBOM or a lock file with hashes is a common form of the inventory.
in_subset:
- slsa_dependency_track
from_schema: https://w3id.org/lmodel/slsa
see_also:
- https://slsa.dev/spec/draft/dependency-track
attributes:
  artifact:
    name: artifact
    description: The artifact whose dependencies are inventoried.
    from_schema: https://w3id.org/lmodel/slsa/slsa_dependency
    rank: 1000
    domain_of:
    - SlsaDependencyInventory
    range: InTotoResourceDescriptor
    required: true
    inlined: true
  dependencies:
    name: dependencies
    description: The dependencies, each as a resource descriptor.
    from_schema: https://w3id.org/lmodel/slsa/slsa_dependency
    rank: 1000
    domain_of:
    - SlsaDependencyInventory
    range: InTotoResourceDescriptor
    multivalued: true
    inlined: true
    inlined_as_list: true
  dependency_level:
    name: dependency_level
    description: The SLSA Dependency level the producer's process meets for this artifact.
    from_schema: https://w3id.org/lmodel/slsa/slsa_dependency
    rank: 1000
    domain_of:
    - SlsaDependencyInventory
    range: SlsaDependencyLevel

Induced#

YAML
name: SlsaDependencyInventory
description: The inventory of every third-party build dependency, direct and transitive,
  of one artifact version.
comments:
- The Dependency track is a working draft and not part of the SLSA v1.2 release.
- A build-time SBOM or a lock file with hashes is a common form of the inventory.
in_subset:
- slsa_dependency_track
from_schema: https://w3id.org/lmodel/slsa
see_also:
- https://slsa.dev/spec/draft/dependency-track
attributes:
  artifact:
    name: artifact
    description: The artifact whose dependencies are inventoried.
    from_schema: https://w3id.org/lmodel/slsa/slsa_dependency
    rank: 1000
    owner: SlsaDependencyInventory
    domain_of:
    - SlsaDependencyInventory
    range: InTotoResourceDescriptor
    required: true
    inlined: true
  dependencies:
    name: dependencies
    description: The dependencies, each as a resource descriptor.
    from_schema: https://w3id.org/lmodel/slsa/slsa_dependency
    rank: 1000
    owner: SlsaDependencyInventory
    domain_of:
    - SlsaDependencyInventory
    range: InTotoResourceDescriptor
    multivalued: true
    inlined: true
    inlined_as_list: true
  dependency_level:
    name: dependency_level
    description: The SLSA Dependency level the producer's process meets for this artifact.
    from_schema: https://w3id.org/lmodel/slsa/slsa_dependency
    rank: 1000
    owner: SlsaDependencyInventory
    domain_of:
    - SlsaDependencyInventory
    range: SlsaDependencyLevel