Cloud posture check · Google Cloud

The instance runs as the default service account with access to all APIs

Reads every compute instance in each connected cloud account and reports one when the instance runs as the default service account with access to all APIs.

Why it matters

Any process on the instance can call every Google Cloud API with the project-wide rights the default service account is granted, so one compromised workload reaches the whole project.

How to fix it

Use a dedicated service account, or restrict the default account's scopes.

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 4.2: Instances do not use the default service account with full API access

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.

Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege

All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation

See TrustIvan on your own estate.

Book thirty minutes with an engineer and bring an image, a repository or a cloud account, or start free on the hosted service.