SLSA
Theme
Text size
GitHub Menu

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

SlsaPackage

A unit of software distributed under a package name, which is the primary security boundary SLSA protects. Its artifacts are the outputs of builds.

URI: slsa:class/SlsaPackage

 classDiagram
    class SlsaPackage
    click SlsaPackage href "../../classes/SlsaPackage/"
      SlsaPackage : ecosystem
        
      SlsaPackage : guac_uri
        
      SlsaPackage : package_artifacts
        
          
    
        
        
        SlsaPackage --> "*" InTotoResourceDescriptor : package_artifacts
        click InTotoResourceDescriptor href "../../classes/InTotoResourceDescriptor/"
    

        
      SlsaPackage : package_name
        
      SlsaPackage : registry
        
          
    
        
        
        SlsaPackage --> "0..1" SlsaPackageRegistry : registry
        click SlsaPackageRegistry href "../../classes/SlsaPackageRegistry/"
    

        
      SlsaPackage : security_insights_uri
        
      

Slots#

NameCardinality and RangeDescriptionInheritance
ecosystem0..1
String
The package ecosystem whose rules govern how a package is named and distribut…direct
package_name1
String
The name consumers use to obtain the package within its ecosystem and registr…direct
registry0..1
SlsaPackageRegistry
The registry the package is published todirect
package_artifacts*
InTotoResourceDescriptor
The immutable artifacts the package name has resolved todirect
guac_uri0..1
Uri
Where a GUAC instance answers queries about the package’s dependency and prov…direct
security_insights_uri0..1
Uri
The SECURITY-INSIGHTSdirect

Usages#

used byused intypeused
SlsaDocumentpackagesrangeSlsaPackage

In Subsets#

See Also#

Identifier and Mapping Information#

Schema Source#

Mappings#

Mapping TypeMapped Value
selfslsa:SlsaPackage
nativeslsa:SlsaPackage
closespdx_software:Package

LinkML Source#

Direct#

YAML
name: SlsaPackage
description: A unit of software distributed under a package name, which is the primary
  security boundary SLSA protects. Its artifacts are the outputs of builds.
in_subset:
- slsa_build_track
- slsa_dependency_track
from_schema: https://w3id.org/lmodel/slsa
see_also:
- https://slsa.dev/spec/v1.2/terminology#distribution-model
close_mappings:
- spdx_software:Package
slots:
- ecosystem
attributes:
  package_name:
    name: package_name
    description: The name consumers use to obtain the package within its ecosystem
      and registry.
    from_schema: https://w3id.org/lmodel/slsa/slsa_core
    rank: 1000
    domain_of:
    - SlsaPackage
    required: true
  registry:
    name: registry
    description: The registry the package is published to.
    from_schema: https://w3id.org/lmodel/slsa/slsa_core
    rank: 1000
    domain_of:
    - SlsaPackage
    range: SlsaPackageRegistry
  package_artifacts:
    name: package_artifacts
    description: The immutable artifacts the package name has resolved to.
    from_schema: https://w3id.org/lmodel/slsa/slsa_core
    rank: 1000
    domain_of:
    - SlsaPackage
    range: InTotoResourceDescriptor
    multivalued: true
    inlined: true
    inlined_as_list: true
  guac_uri:
    name: guac_uri
    description: Where a GUAC instance answers queries about the package's dependency
      and provenance graph.
    in_subset:
    - slsa_ssf
    from_schema: https://w3id.org/lmodel/slsa/slsa_core
    rank: 1000
    domain_of:
    - SlsaPackage
    range: uri
  security_insights_uri:
    name: security_insights_uri
    description: The SECURITY-INSIGHTS.yml file of the project that produces the package.
    in_subset:
    - slsa_ssf
    from_schema: https://w3id.org/lmodel/slsa/slsa_core
    rank: 1000
    domain_of:
    - SlsaPackage
    range: uri

Induced#

YAML
name: SlsaPackage
description: A unit of software distributed under a package name, which is the primary
  security boundary SLSA protects. Its artifacts are the outputs of builds.
in_subset:
- slsa_build_track
- slsa_dependency_track
from_schema: https://w3id.org/lmodel/slsa
see_also:
- https://slsa.dev/spec/v1.2/terminology#distribution-model
close_mappings:
- spdx_software:Package
attributes:
  package_name:
    name: package_name
    description: The name consumers use to obtain the package within its ecosystem
      and registry.
    from_schema: https://w3id.org/lmodel/slsa/slsa_core
    rank: 1000
    owner: SlsaPackage
    domain_of:
    - SlsaPackage
    range: string
    required: true
  registry:
    name: registry
    description: The registry the package is published to.
    from_schema: https://w3id.org/lmodel/slsa/slsa_core
    rank: 1000
    owner: SlsaPackage
    domain_of:
    - SlsaPackage
    range: SlsaPackageRegistry
  package_artifacts:
    name: package_artifacts
    description: The immutable artifacts the package name has resolved to.
    from_schema: https://w3id.org/lmodel/slsa/slsa_core
    rank: 1000
    owner: SlsaPackage
    domain_of:
    - SlsaPackage
    range: InTotoResourceDescriptor
    multivalued: true
    inlined: true
    inlined_as_list: true
  guac_uri:
    name: guac_uri
    description: Where a GUAC instance answers queries about the package's dependency
      and provenance graph.
    in_subset:
    - slsa_ssf
    from_schema: https://w3id.org/lmodel/slsa/slsa_core
    rank: 1000
    owner: SlsaPackage
    domain_of:
    - SlsaPackage
    range: uri
  security_insights_uri:
    name: security_insights_uri
    description: The SECURITY-INSIGHTS.yml file of the project that produces the package.
    in_subset:
    - slsa_ssf
    from_schema: https://w3id.org/lmodel/slsa/slsa_core
    rank: 1000
    owner: SlsaPackage
    domain_of:
    - SlsaPackage
    range: uri
  ecosystem:
    name: ecosystem
    description: The package ecosystem whose rules govern how a package is named and
      distributed, such as PyPA, npm or OCI.
    comments:
    - One ecosystem's tools can name the same package differently, which the study
      found affects attestations and provenance, so verifiers match provenance to
      package names with care (Tamanna et al., 2024, UR.1).
    in_subset:
    - slsa_build_track
    - slsa_dependency_track
    from_schema: https://w3id.org/lmodel/slsa
    rank: 1000
    slot_uri: slsa:ecosystem
    owner: SlsaPackage
    domain_of:
    - SlsaPackageRegistry
    - SlsaPackage
    range: string