Skip to content

DET-C7: Impersonation granted on a service account outside the identity pool

SetIamPolicy on a service account gave token-creator, workload-identity-user or service-account-user to a member outside the workload identity pool: that member can act as the workload without any attestation.

Property Value
Severity critical
Platform GCP Confidential Space
Group tee
Log source Cloud Audit Logs · IAM
Policy P-03
Related check CSPACE-SA-01: Workload SA cannot be impersonated to bypass attestation

Fires when

SetIamPolicy on a service account AND impersonation/tokenCreator granted outside the 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.