Skip to content

CSPACE-VM-02: Confidential VM type is a recognized TEE and matches the attested hwmodel

Property Value
Severity high
Platform GCP Confidential Space (AMD SEV-SNP)
Lifecycle stage deploy
Mode Passive: read-only cloud API calls.

What it checks

It passes when:

  • Confidential VM type is … and ….

How to fix

  • Run on a supported Confidential VM type (SEV_SNP or TDX) and ensure the attestation token's hwmodel matches the configured platform.
  • Run on a supported Confidential VM type (SEV_SNP or TDX) matching the attested hwmodel.

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 config: …

Scan inputs

The untrust scan options this check reads:

Option Description
--attestation-token Path to a captured Confidential Space attestation token (JWT).
--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 compute.instances.get compute.instances.get read

See Required permissions for every check on this platform.

Generated from untrust 1.3.0 (commit 7ef462d9a0c3).