Why it matters
Without OS Login, SSH access is granted by keys in metadata rather than by IAM, so removing a person from the project does not remove their access to instances.
How to fix it
Set enable-oslogin=TRUE in the project's metadata.
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.4: OS Login is enabled for the project
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 has no IAM role attached
AWSSeverity: Low
cloud.compute.no-instance-role - Secure boot and integrity monitoring are off
AWS, Azure, Google CloudSeverity: Low
cloud.compute.no-shielded-vm - Confidential computing is off
Google CloudSeverity: Low
cloud.compute.no-confidential-computing - The instance accepts project-wide SSH keys
Google CloudSeverity: Medium
cloud.compute.project-ssh-keys-allowed - No bastion host exists for administrative access
AzureSeverity: Low
cloud.compute.no-bastion - The instance has a public IP address
AWS, Azure, Google CloudSeverity: Medium
cloud.compute.public-ip
Terms: CSPM (cloud security posture management), CIS Benchmarks, Least privilege
All cloud posture checks · The whole catalogue · How this works in TrustIvan · Documentation