Skip to content

DET-C4: Key decrypt granted outside the attestation gate

SetIamPolicy on the state key gave decrypt to a member other than the workload identity pool. That member can release the key without any attestation.

Property Value
Severity critical
Platform GCP Confidential Space
Group tee
Log source Cloud Audit Logs · Cloud KMS IAM
Policy P-03
Related check CSPACE-KMS-01: Cloud KMS decrypt is federated through the attested pool

Fires when

SetIamPolicy on the KMS key AND cryptoKeyDecrypter granted to a member outside the workload pool

How it runs

untrust detect --platform sev-snp reads the project's Cloud Audit Logs over the last --since minutes (default 60).

A match is a detection event with this rule's ID. Upload it to the console to alert on it; see Runtime detections.