Merge pull request #11636 from rhmdnd/CMP-2247 #2231
k8s-content.yaml
on: push
container-main
/
container
4m 16s
Annotations
1 warning and 4 notices
container-main / sbom
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: anchore/sbom-action/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Verify SBOM attestation
COSIGN_EXPERIMENTAL=1 cosign verify-attestation ghcr.io/complianceascode/k8scontent@sha256:32d9a5f59fb84a6b455d40b275f926323f00b3e8b944e2476bf17237e45dd816 | jq '.payload |= @base64d | .payload | fromjson | select(.predicateType == "https://spdx.dev/Document") | .predicate.Data | fromjson'
|
Verify signature
COSIGN_EXPERIMENTAL=1 cosign verify ghcr.io/complianceascode/k8scontent@sha256:32d9a5f59fb84a6b455d40b275f926323f00b3e8b944e2476bf17237e45dd816 | jq '.[0]'
|
Inspect signature bundle
COSIGN_EXPERIMENTAL=1 cosign verify ghcr.io/complianceascode/k8scontent@sha256:32d9a5f59fb84a6b455d40b275f926323f00b3e8b944e2476bf17237e45dd816 | 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:32d9a5f59fb84a6b455d40b275f926323f00b3e8b944e2476bf17237e45dd816 | 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
|