turbot/terraform_gcp_compliance

GitHub
Loading controls...

Control: Ensure that the 'log_lock_waits' database flag for Cloud SQL PostgreSQL instance is set to 'on'

Description

Enabling the log_lock_waits flag for a PostgreSQL instance creates a log for any session waits that take longer than the alloted deadlock_timeout time to acquire a lock.

Usage

Run the control in your terminal:

steampipe check terraform_gcp_compliance.control.sql_instance_postgresql_log_lock_waits_database_flag_on

Snapshot and share results via Steampipe Cloud:

steampipe login
steampipe check --share terraform_gcp_compliance.control.sql_instance_postgresql_log_lock_waits_database_flag_on

SQL

This control uses a named query:

sql_instance_postgresql_log_lock_waits_database_flag_on

Tags