Last active
July 27, 2022 21:33
-
-
Save jdolitsky/5659271050d3b3490dcb0dc128bd6125 to your computer and use it in GitHub Desktop.
ClustertImagePolicy requiring an SBOM in SPDX format stored as a keyless attestation against public Fulcio using cosign
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
apiVersion: policy.sigstore.dev/v1alpha1 | |
kind: ClusterImagePolicy | |
metadata: | |
name: keyless-attestation-spdxjson | |
spec: | |
images: | |
- glob: ** | |
authorities: | |
- name: keyless | |
keyless: | |
url: "https://fulcio.sigstore.dev" | |
attestations: | |
- name: must-have-spdxjson | |
predicateType: spdxjson | |
policy: | |
type: cue | |
data: | | |
predicateType: "cosign.sigstore.dev/attestation/v1" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment