-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
bugSomething isn't workingSomething isn't working
Description
As discussed in slsa-framework/slsa#918, SLSA v1 predicate is supposed to be wrapped in intoto v1.0 statement.
Therefore, I suppose there should be a const defined for intoto v1.0 statement type i.e. StatementInTotoV10, but there appears to be none.
in-toto-golang/in_toto/attestations.go
Lines 10 to 22 in 8a5dc9e
| const ( | |
| // StatementInTotoV01 is the statement type for the generalized link format | |
| // containing statements. This is constant for all predicate types. | |
| StatementInTotoV01 = "https://in-toto.io/Statement/v0.1" | |
| // PredicateSPDX represents a SBOM using the SPDX standard. | |
| // The SPDX mandates 'spdxVersion' field, so predicate type can omit | |
| // version. | |
| PredicateSPDX = "https://spdx.dev/Document" | |
| // PredicateCycloneDX represents a CycloneDX SBOM | |
| PredicateCycloneDX = "https://cyclonedx.org/bom" | |
| // PredicateLinkV1 represents an in-toto 0.9 link. | |
| PredicateLinkV1 = "https://in-toto.io/Link/v1" | |
| ) |
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working