Merge pull request #11406 from Commandcracker/master #2054
k8s-content.yaml
on: push
container-main
/
container
4m 4s
Annotations
4 notices
Verify signature
COSIGN_EXPERIMENTAL=1 cosign verify ghcr.io/complianceascode/k8scontent@sha256:4d4f2ee3b79b18ffccb5019ee7c4777f73a0bc907bb3a693aefcab9732d51d07 | jq '.[0]'
|
Inspect signature bundle
COSIGN_EXPERIMENTAL=1 cosign verify ghcr.io/complianceascode/k8scontent@sha256:4d4f2ee3b79b18ffccb5019ee7c4777f73a0bc907bb3a693aefcab9732d51d07 | jq '.[0].optional.Bundle.Payload.body |= @base64d | .[0].optional.Bundle.Payload.body | fromjson'
|
Inspect certificate
COSIGN_EXPERIMENTAL=1 cosign verify ghcr.io/complianceascode/k8scontent@sha256:4d4f2ee3b79b18ffccb5019ee7c4777f73a0bc907bb3a693aefcab9732d51d07 | jq -r '.[0].optional.Bundle.Payload.body |= @base64d | .[0].optional.Bundle.Payload.body | fromjson | .spec.signature.publicKey.content |= @base64d | .spec.signature.publicKey.content' | openssl x509 -text
|
Verify SBOM attestation
COSIGN_EXPERIMENTAL=1 cosign verify-attestation ghcr.io/complianceascode/k8scontent@sha256:4d4f2ee3b79b18ffccb5019ee7c4777f73a0bc907bb3a693aefcab9732d51d07 | jq '.payload |= @base64d | .payload | fromjson | select(.predicateType == "https://spdx.dev/Document") | .predicate.Data | fromjson'
|