compliance.tf
Google Cloud Compliance ControlsGoogle Cloud Compute Engine

Compute Engine instances should have 'Enable connecting to serial ports' disabled

Serial port access is not governed by network security rules, so the port can be exposed publicly. Compute Engine instances with the `Enable connecting to serial ports` flag disabled do not allow interactive serial console connections.

What this control checks

Checks the Enable connecting to serial ports setting on Compute Engine instances

Framework mappings

The clauses this control is mapped to in each framework.

SOC 2

  • CC6.6: The entity implements logical access security measures to protect against threats from sources outside its system boundaries.

NIST SP 800-53 Rev 5

  • CM-7 Least Functionality
  • Configuration Settings (CM-6)

NIST Cybersecurity Framework v2.0

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

CIS GCP Benchmark v3.0.0

  • 4.5 Ensure 'Enable Connecting to Serial Ports' Is Not Enabled for VM Instance

CIS GCP Benchmark v4.0.0

  • 4.5 Ensure 'Enable Connecting to Serial Ports' Is Not Enabled for VM Instance

CIS GCP Benchmark v1.2.0

  • 4.5 Ensure 'Enable connecting to serial ports' is not enabled for VM Instance

CIS GCP Benchmark v1.3.0

  • 4.5 Ensure 'Enable connecting to serial ports' is not enabled for VM Instance

CIS GCP Benchmark v2.0.0

  • 4.5 Ensure 'Enable connecting to serial ports' is not enabled for VM Instance

Tool mappings

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

  • Compliance.tf Control: compute_instance_serial_port_connection_disabled
  • Checkov Check: CKV_GCP_35
  • Powerpipe Control: gcp_compliance.control.compute_instance_serial_port_connection_disabled
  • Prowler Check: compute_instance_serial_ports_in_use
  • KICS Query: 97fa667a-d05b-4f16-9071-58b939f34751
  • Trivy Check: GCP-0032

Last reviewed: 2026-10-09

View all Google Cloud controls →

On this page

Ask AI about this

Help improve this page