mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-11-09 07:17:10 -05:00
todo responsibilities and cleanup (#1837)
* chore: add TODO responsibilities * chore: remove not needed TODOs * chore: remove outdated migrations * chore: remove resolved goleak exception * chore: remove not needed cosign env * config: add link to our Azure snp docs
This commit is contained in:
parent
0c13f3ed8d
commit
e0285c122e
31 changed files with 40 additions and 104 deletions
3
.github/actions/container_sbom/action.yml
vendored
3
.github/actions/container_sbom/action.yml
vendored
|
|
@ -27,7 +27,6 @@ runs:
|
|||
- name: Generate SBOM
|
||||
shell: bash
|
||||
env:
|
||||
# COSIGN_EXPERIMENTAL: 1 # This breaks verification with HTTP 404
|
||||
COSIGN_PUBLIC_KEY: ${{ inputs.cosignPublicKey }}
|
||||
COSIGN_PRIVATE_KEY: ${{ inputs.cosignPrivateKey }}
|
||||
COSIGN_PASSWORD: ${{ inputs.cosignPassword }}
|
||||
|
|
@ -37,7 +36,7 @@ runs:
|
|||
syft packages ${{ inputs.containerReference }} -o cyclonedx-json > container-image-predicate.json
|
||||
cosign attest ${{ inputs.containerReference }} --key env://COSIGN_PRIVATE_KEY --predicate container-image-predicate.json --type "https://cyclonedx.org/bom" > container-image.att.json
|
||||
cosign attach attestation ${{ inputs.containerReference }} --attestation container-image.att.json
|
||||
# TODO: type should be auto-discovered after issue is resolved:
|
||||
# TODO(3u13r): type should be auto-discovered after issue is resolved:
|
||||
# https://github.com/sigstore/cosign/issues/2264
|
||||
cosign verify-attestation ${{ inputs.containerReference }} --type "https://cyclonedx.org/bom" --key env://COSIGN_PUBLIC_KEY
|
||||
grype ${{ inputs.containerReference }} --fail-on high --only-fixed --add-cpes-if-none
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue