Why it matters
The default compute service account is shared by every instance that does not name another and holds broad project rights, so instances cannot be given only what each one needs.
How to fix it
Attach a purpose-built service account with only the roles the workload needs.
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.1: Instances do not use the default service account
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 instance runs as the default service account with access to all APIs
Google CloudSeverity: High
cloud.compute.default-sa-full-scope - Instance disks use a platform-managed key
AzureSeverity: Low
cloud.compute.disk-no-customer-key - New block volumes are not encrypted by default in every region
AWSSeverity: High
cloud.compute.ebs-default-encryption - The instance metadata service accepts IMDSv1 requests
AWSSeverity: Medium
cloud.compute.imdsv1-allowed - IP forwarding is enabled on the instance
Google CloudSeverity: Low
cloud.compute.ip-forwarding - No bastion host exists for administrative access
AzureSeverity: Low
cloud.compute.no-bastion
Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege
All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation