Class in Supply-chain Levels for Software Artifacts (SLSA)
SlsaComponentVersion
The version of one named component of a platform.
URI: slsa:class/SlsaComponentVersion
classDiagram
class SlsaComponentVersion
click SlsaComponentVersion href "../../classes/SlsaComponentVersion/"
SlsaComponentVersion : component
SlsaComponentVersion : component_version
Slots#
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| component | 1 String | The component’s name | direct |
| component_version | 0..1 String | The component’s version string | direct |
Usages#
| used by | used in | type | used |
|---|---|---|---|
| SlsaVerifier | component_versions | range | SlsaComponentVersion |
| SlsaBuildPlatform | component_versions | range | SlsaComponentVersion |
In Subsets#
Comments#
- Each component appears once in a list, since the attestation’s JSON uses its name as a key; the validator does not check this.
Identifier and Mapping Information#
Schema Source#
- from schema: https://w3id.org/lmodel/slsa
Mappings#
| Mapping Type | Mapped Value |
|---|---|
| self | slsa:SlsaComponentVersion |
| native | slsa:SlsaComponentVersion |
LinkML Source#
Direct#
YAML
name: SlsaComponentVersion
description: The version of one named component of a platform.
comments:
- Each component appears once in a list, since the attestation's JSON uses its name
as a key; the validator does not check this.
in_subset:
- slsa_build_track
from_schema: https://w3id.org/lmodel/slsa
attributes:
component:
name: component
description: The component's name.
from_schema: https://w3id.org/lmodel/slsa/slsa_core
rank: 1000
domain_of:
- SlsaComponentVersion
required: true
component_version:
name: component_version
description: The component's version string.
from_schema: https://w3id.org/lmodel/slsa/slsa_core
rank: 1000
domain_of:
- SlsaComponentVersion
Induced#
YAML
name: SlsaComponentVersion
description: The version of one named component of a platform.
comments:
- Each component appears once in a list, since the attestation's JSON uses its name
as a key; the validator does not check this.
in_subset:
- slsa_build_track
from_schema: https://w3id.org/lmodel/slsa
attributes:
component:
name: component
description: The component's name.
from_schema: https://w3id.org/lmodel/slsa/slsa_core
rank: 1000
owner: SlsaComponentVersion
domain_of:
- SlsaComponentVersion
range: string
required: true
component_version:
name: component_version
description: The component's version string.
from_schema: https://w3id.org/lmodel/slsa/slsa_core
rank: 1000
owner: SlsaComponentVersion
domain_of:
- SlsaComponentVersion
range: string