Skip to content

CSPACE-BINAUTHZ-01: Image signing is enforced for the workload image's repo

Property Value
Severity high
Platform GCP Confidential Space (AMD SEV-SNP)
Lifecycle stage attest
Policy P-09: Only signed images pinned to a measurement are launched
Mode Passive: read-only cloud API calls.

What it checks

It passes when:

  • Image repo (…) is covered by tee-signed-image-repos.

How to fix

  • Set tee-signed-image-repos to the exact repo your workload image is pulled from and cosign-sign that image, so the launcher refuses an unsigned image.

After the fix, scan again: the check should report PASS.

When it is not assessed

SKIP:

  • Need --gcp-instance, --gcp-zone, and --gcp-project; skipping check.

ERROR:

  • Could not read instance metadata: …

Scan inputs

The untrust scan options this check reads:

Option Description
--gcp-instance Confidential VM instance name.
--gcp-project GCP project ID.
--gcp-zone Zone of the Confidential VM.

Permissions

The cloud API calls this check makes, read from the scanner's source:

Cloud API call Permission Access
Google Cloud artifactregistry.projects.locations.repositories.getIamPolicy artifactregistry.repositories.getIamPolicy read
Google Cloud compute.instances.get compute.instances.get read

See Required permissions for every check on this platform.

Generated from untrust 1.3.0 (commit 7ef462d9a0c3).