turbot/terraform_gcp_compliance

GitHub
Loading controls...

Control: Ensure 'log_duration' database flag for Cloud SQL PostgreSQL instance is set to 'on'

Description

Enabling the log_duration setting causes the duration of each completed statement to be logged. This does not logs the text of the query and thus behaves different from the log_min_duration_statement flag. This parameter cannot be changed after session start.

Usage

Run the control in your terminal:

steampipe check terraform_gcp_compliance.control.sql_instance_postgresql_log_duration_database_flag_on

Snapshot and share results via Steampipe Cloud:

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

SQL

This control uses a named query:

sql_instance_postgresql_log_duration_database_flag_on

Tags