Skip to content

Merge pull request #11487 from vojtapolasek/cis_fixes #2115

Merge pull request #11487 from vojtapolasek/cis_fixes

Merge pull request #11487 from vojtapolasek/cis_fixes #2115

Triggered via push January 26, 2024 16:43
Status Success
Total duration 5m 42s
Artifacts

k8s-content.yaml

on: push
container-main  /  container
5m 15s
container-main / container
container-main  /  sign
10s
container-main / sign
container-main  /  sbom
10s
container-main / sbom
Fit to window
Zoom out
Zoom in

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:2448cdf554a8b9ab98f42251fcdf20617c5d831b34cae468e6748374c50ffb52 | 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:2448cdf554a8b9ab98f42251fcdf20617c5d831b34cae468e6748374c50ffb52 | jq '.[0]'
Inspect signature bundle
COSIGN_EXPERIMENTAL=1 cosign verify ghcr.io/complianceascode/k8scontent@sha256:2448cdf554a8b9ab98f42251fcdf20617c5d831b34cae468e6748374c50ffb52 | 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:2448cdf554a8b9ab98f42251fcdf20617c5d831b34cae468e6748374c50ffb52 | 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