forked from tektoncd/chains
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conform provenance.materials.uri to URI syntax (tektoncd#792)
According to SLSA Provenance v0.2 the `provenance.materials.uri`[1] needs to be a `ResourceURI` which is defined[2] as a _"Uniform Resource Identifier as specified in RFC 3986"_. The `uri` field of `provenance.materials` is populated with the image reference which does not contain the scheme and therefore is not a valid URI. This changes that to prepend the `oci://` prefix to Task and sidecar image references. [1] https://slsa.dev/provenance/v0.2#materials.uri [2] https://github.com/in-toto/attestation/blob/main/spec/v0.1.0/field_types.md#ResourceURI
- Loading branch information
Showing
14 changed files
with
95 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.