SLSA
Theme
Text size
GitHub Menu

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

SlsaTag

A named reference meant never to move once created.

URI: slsa:class/SlsaTag

 classDiagram
    class SlsaTag
    click SlsaTag href "../../classes/SlsaTag/"
      SlsaNamedReference <|-- SlsaTag
        click SlsaNamedReference href "../../classes/SlsaNamedReference/"
      
      SlsaTag : protected
        
      SlsaTag : reference_name
        
      SlsaTag : reference_type
        
      SlsaTag : repository
        
          
    
        
        
        SlsaTag --> "0..1" SlsaSourceRepository : repository
        click SlsaSourceRepository href "../../classes/SlsaSourceRepository/"
    

        
      SlsaTag : revision
        
          
    
        
        
        SlsaTag --> "0..1" SlsaSourceRevision : revision
        click SlsaSourceRevision href "../../classes/SlsaSourceRevision/"
    

        
      

Inheritance#

Slots#

NameCardinality and RangeDescriptionInheritance
repository0..1
SlsaSourceRepository
The source repository this belongs toSlsaNamedReference
revision0..1
SlsaSourceRevision
The source revision this refers toSlsaNamedReference
reference_type0..1
String
The kind of named reference, one of this class’s descendantsSlsaNamedReference
reference_name1
String
The reference’s name, fully qualified in git, such as refs/heads/mainSlsaNamedReference
protected0..1
Boolean
Whether the organization has the SCS enforce its technical controls on this r…SlsaNamedReference

In Subsets#

Comments#

  • A version-control tag that is allowed to move, such as latest, is a named reference and not a tag in this sense.

Identifier and Mapping Information#

Schema Source#

Mappings#

Mapping TypeMapped Value
selfslsa:SlsaTag
nativeslsa:SlsaTag

LinkML Source#

Direct#

YAML
name: SlsaTag
description: A named reference meant never to move once created.
comments:
- A version-control tag that is allowed to move, such as latest, is a named reference
  and not a tag in this sense.
in_subset:
- slsa_source_track
from_schema: https://w3id.org/lmodel/slsa
is_a: SlsaNamedReference

Induced#

YAML
name: SlsaTag
description: A named reference meant never to move once created.
comments:
- A version-control tag that is allowed to move, such as latest, is a named reference
  and not a tag in this sense.
in_subset:
- slsa_source_track
from_schema: https://w3id.org/lmodel/slsa
is_a: SlsaNamedReference
attributes:
  repository:
    name: repository
    description: The source repository this belongs to.
    in_subset:
    - slsa_source_track
    from_schema: https://w3id.org/lmodel/slsa
    rank: 1000
    slot_uri: slsa:repository
    owner: SlsaTag
    domain_of:
    - SlsaSourceRevision
    - SlsaNamedReference
    range: SlsaSourceRepository
  revision:
    name: revision
    description: The source revision this refers to.
    in_subset:
    - slsa_source_track
    from_schema: https://w3id.org/lmodel/slsa
    rank: 1000
    slot_uri: slsa:revision
    owner: SlsaTag
    domain_of:
    - SlsaNamedReference
    - SlsaSourceProvenance
    range: SlsaSourceRevision
  reference_type:
    name: reference_type
    description: The kind of named reference, one of this class's descendants.
    from_schema: https://w3id.org/lmodel/slsa/slsa_source
    rank: 1000
    designates_type: true
    owner: SlsaTag
    domain_of:
    - SlsaNamedReference
    range: string
  reference_name:
    name: reference_name
    description: The reference's name, fully qualified in git, such as refs/heads/main.
    from_schema: https://w3id.org/lmodel/slsa/slsa_source
    rank: 1000
    owner: SlsaTag
    domain_of:
    - SlsaNamedReference
    range: string
    required: true
  protected:
    name: protected
    description: Whether the organization has the SCS enforce its technical controls
      on this reference.
    from_schema: https://w3id.org/lmodel/slsa/slsa_source
    rank: 1000
    owner: SlsaTag
    domain_of:
    - SlsaNamedReference
    range: boolean