Why it matters
A member who can both create service accounts and act as them can mint a service account with any rights and then use it.
How to fix it
Grant Service Account Admin and Service Account User to different members.
What TrustIvan reads
- Google Cloud: the collector reads what this check needs, so it passes or fails.
Cloud accounts are read with read-only access. These results describe configuration; they are not an attestation that a benchmark is met. The access to grant: Google Cloud.
Benchmark controls
- CIS Google Cloud Platform Foundation Benchmark 3.0.0, control
1.8: Service account roles are separated
Control numbers are the published ones; the titles are TrustIvan's own short descriptions. The benchmarks belong to their publishers, who do not endorse TrustIvan.
Related checks
- The root user was used in the last 30 days
AWSSeverity: Medium
cloud.iam.root-recently-used - A user can act as every service account in the project
Google CloudSeverity: Medium
cloud.iam.sa-user-role-project-level - The root user has no second factor
AWSSeverity: Critical
cloud.iam.root-no-mfa - Static credential has not been rotated
AWS, Azure, Google CloudSeverity: Medium
cloud.iam.stale-key - The root user's second factor is not a hardware device
AWSSeverity: Medium
cloud.iam.root-no-hardware-mfa - Identity has been idle for a long time
AWS, Azure, Google CloudSeverity: Low
cloud.iam.unused-principal
Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege
All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation