compliance.tf

Cloud SQL PostgreSQL instances should have 'log_checkpoints' set to 'on'

Ensure that the log_checkpoints database flag for the Cloud SQL PostgreSQL instance is set to on. Trivy GCP-0025 states: Ensure that logging of checkpoints is enabled. Logging checkpoints provides useful diagnostic data.

What this control checks

Cloud SQL PostgreSQL log_checkpoints database flag must be set to on

Framework mappings

The clauses this control is mapped to in each framework.

NIST Cybersecurity Framework v2.0

  • GV.SC-07: The risks posed by a supplier, their products and services, and other third parties are understood, recorded, prioritized, assessed, responded to, and monitored over the course of the relationship.

CIS GCP Benchmark v1.2.0

  • 6.2.1 Ensure that the 'log_checkpoints' database flag for Cloud SQL PostgreSQL instance is set to 'on'

Tool mappings

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

  • Compliance.tf Control: sql_instance_postgresql_log_checkpoints_database_flag_on
  • Checkov Check: CKV_GCP_51
  • Powerpipe Control: gcp_compliance.control.sql_instance_postgresql_log_checkpoints_database_flag_on
  • Trivy Check: GCP-0025

Last reviewed: 2026-10-10

View all Google Cloud controls →

On this page

Ask AI about this

Help improve this page