Skip to content

Class: SlsaSourceRevision

A logically immutable snapshot of a repository’s tracked files, with its version-control metadata: author, time and parent revisions.

URI: slsa:SlsaSourceRevision

 classDiagram
    class SlsaSourceRevision
    click SlsaSourceRevision href "../SlsaSourceRevision/"
      SlsaSourceRevision : authored_at
        
      SlsaSourceRevision : authored_by
        
      SlsaSourceRevision : parent_revisions
        
          
    
        
        
        SlsaSourceRevision --> "*" SlsaSourceRevision : parent_revisions
        click SlsaSourceRevision href "../SlsaSourceRevision/"
    

        
      SlsaSourceRevision : repository
        
          
    
        
        
        SlsaSourceRevision --> "0..1" SlsaSourceRepository : repository
        click SlsaSourceRepository href "../SlsaSourceRepository/"
    

        
      SlsaSourceRevision : review_type
        
          
    
        
        
        SlsaSourceRevision --> "0..1" SlsaReviewType : review_type
        click SlsaReviewType href "../SlsaReviewType/"
    

        
      SlsaSourceRevision : revision_id
        
      SlsaSourceRevision : source_level
        
          
    
        
        
        SlsaSourceRevision --> "0..1" SlsaSourceLevel : source_level
        click SlsaSourceLevel href "../SlsaSourceLevel/"
    

        
      
Name Cardinality and Range Description Inheritance
repository 0..1
SlsaSourceRepository
The source repository this belongs to direct
revision_id 1
String
The revision identifier the SCS assigns, such as a git commit id or a path- q… direct
authored_by 0..1
String
The identity of the person or automation that authored the revision direct
authored_at 0..1
Datetime
When the revision was created direct
parent_revisions *
SlsaSourceRevision
The revisions this one descends from, which together form the change history direct
source_level 0..1
SlsaSourceLevel
The SLSA Source level the SCS asserts for the revision direct
review_type 0..1
SlsaReviewType
The form of review that approved the revision direct
used by used in type used
SlsaDocument source_revisions range SlsaSourceRevision
SlsaSourceRevision parent_revisions range SlsaSourceRevision
SlsaNamedReference revision range SlsaSourceRevision
SlsaBranch revision range SlsaSourceRevision
SlsaTag revision range SlsaSourceRevision
SlsaSourceProvenance revision range SlsaSourceRevision
  • A revision id is unique within its repository and may recur in another; a document that holds revisions from several repositories qualifies them.
Mapping Type Mapped Value
self slsa:SlsaSourceRevision
native slsa:SlsaSourceRevision
name: SlsaSourceRevision
description: 'A logically immutable snapshot of a repository''s tracked files, with
its version-control metadata: author, time and parent revisions.'
comments:
- A revision id is unique within its repository and may recur in another; a document
that holds revisions from several repositories qualifies them.
in_subset:
- slsa_source_track
from_schema: https://w3id.org/lmodel/slsa
see_also:
- https://slsa.dev/spec/v1.2/source-requirements#definitions
slots:
- repository
attributes:
revision_id:
name: revision_id
description: The revision identifier the SCS assigns, such as a git commit id
or a path- qualified sequence number.
from_schema: https://w3id.org/lmodel/slsa/slsa_source
rank: 1000
identifier: true
domain_of:
- SlsaSourceRevision
authored_by:
name: authored_by
description: The identity of the person or automation that authored the revision.
from_schema: https://w3id.org/lmodel/slsa/slsa_source
rank: 1000
domain_of:
- SlsaSourceRevision
authored_at:
name: authored_at
description: When the revision was created.
from_schema: https://w3id.org/lmodel/slsa/slsa_source
rank: 1000
domain_of:
- SlsaSourceRevision
range: datetime
parent_revisions:
name: parent_revisions
description: The revisions this one descends from, which together form the change
history.
from_schema: https://w3id.org/lmodel/slsa/slsa_source
rank: 1000
domain_of:
- SlsaSourceRevision
range: SlsaSourceRevision
multivalued: true
source_level:
name: source_level
description: The SLSA Source level the SCS asserts for the revision.
from_schema: https://w3id.org/lmodel/slsa/slsa_source
rank: 1000
domain_of:
- SlsaSourceRevision
range: SlsaSourceLevel
review_type:
name: review_type
description: The form of review that approved the revision.
in_subset:
- slsa_adoption_study
from_schema: https://w3id.org/lmodel/slsa/slsa_source
rank: 1000
domain_of:
- SlsaSourceRevision
range: SlsaReviewType
name: SlsaSourceRevision
description: 'A logically immutable snapshot of a repository''s tracked files, with
its version-control metadata: author, time and parent revisions.'
comments:
- A revision id is unique within its repository and may recur in another; a document
that holds revisions from several repositories qualifies them.
in_subset:
- slsa_source_track
from_schema: https://w3id.org/lmodel/slsa
see_also:
- https://slsa.dev/spec/v1.2/source-requirements#definitions
attributes:
revision_id:
name: revision_id
description: The revision identifier the SCS assigns, such as a git commit id
or a path- qualified sequence number.
from_schema: https://w3id.org/lmodel/slsa/slsa_source
rank: 1000
identifier: true
owner: SlsaSourceRevision
domain_of:
- SlsaSourceRevision
range: string
required: true
authored_by:
name: authored_by
description: The identity of the person or automation that authored the revision.
from_schema: https://w3id.org/lmodel/slsa/slsa_source
rank: 1000
owner: SlsaSourceRevision
domain_of:
- SlsaSourceRevision
range: string
authored_at:
name: authored_at
description: When the revision was created.
from_schema: https://w3id.org/lmodel/slsa/slsa_source
rank: 1000
owner: SlsaSourceRevision
domain_of:
- SlsaSourceRevision
range: datetime
parent_revisions:
name: parent_revisions
description: The revisions this one descends from, which together form the change
history.
from_schema: https://w3id.org/lmodel/slsa/slsa_source
rank: 1000
owner: SlsaSourceRevision
domain_of:
- SlsaSourceRevision
range: SlsaSourceRevision
multivalued: true
source_level:
name: source_level
description: The SLSA Source level the SCS asserts for the revision.
from_schema: https://w3id.org/lmodel/slsa/slsa_source
rank: 1000
owner: SlsaSourceRevision
domain_of:
- SlsaSourceRevision
range: SlsaSourceLevel
review_type:
name: review_type
description: The form of review that approved the revision.
in_subset:
- slsa_adoption_study
from_schema: https://w3id.org/lmodel/slsa/slsa_source
rank: 1000
owner: SlsaSourceRevision
domain_of:
- SlsaSourceRevision
range: SlsaReviewType
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: SlsaSourceRevision
domain_of:
- SlsaSourceRevision
- SlsaNamedReference
range: SlsaSourceRepository