compliance.tf
Google Cloud Compliance ControlsGoogle Cloud Compute Engine

Compute Engine instances should all have OS Login enabled in the project

Checks that OS Login is enabled for all Compute Engine instances in the project. The control description says enabling OS login binds SSH certificates to IAM users and facilitates effective SSH certificate management.

What this control checks

Compute Engine instances in the project must have OS Login enabled.

Framework mappings

The clauses this control is mapped to in each framework.

SOC 2

  • CC6.1 The entity implements logical access security software, infrastructure, and architectures over protected information assets to protect them from security events to meet the entity's objectives
  • CC6.2 Prior to issuing system credentials and granting system access, the entity registers and authorizes new internal and external users whose access is administered by the entity
  • CC6.3 The entity authorizes, modifies, or removes access to data, software, functions, and other protected information assets based on roles, responsibilities, or the system design and changes, giving consideration to the concepts of least privilege and segregation of duties, to meet the entity's objectives

NIST SP 800-53 Rev 5

  • AC-2 Account Management

NIST Cybersecurity Framework v2.0

  • ID.AM-01: Inventories of hardware managed by the organization are maintained.
  • PR.PS-01

CIS GCP Benchmark v3.0.0

  • 4.4 Ensure Oslogin Is Enabled for a Project

CIS GCP Benchmark v4.0.0

  • 4.4 Ensure Oslogin Is Enabled for a Project

CIS GCP Benchmark v1.2.0

  • 4.4 Ensure oslogin is enabled for a Project

CIS GCP Benchmark v1.3.0

  • 4.4 Ensure oslogin is enabled for a Project

CIS GCP Benchmark v2.0.0

  • 4.4 Ensure oslogin is enabled for a Project

Tool mappings

Use these identifiers to cross-reference this control across tools, reports, and evidence.

  • Compliance.tf Control: compute_instance_oslogin_enabled
  • Powerpipe Control: gcp_compliance.control.compute_instance_oslogin_enabled

Last reviewed: 2026-10-09

View all Google Cloud controls →

On this page

Ask AI about this

Help improve this page