turbot/terraform_gcp_compliance
GitHub
Loading controls...

Control: Ensure 'log_planner_stats' database flag for Cloud SQL PostgreSQL instance is set to 'off'

Description

The same SQL query can be executed in multiple ways and still produce different results. The PostgreSQL planner/optimizer is responsible to create an optimal execution plan for each query. The log_planner_stats flag controls the inclusion of PostgreSQL planner performance statistics in the PostgreSQL logs for each query.

Usage

Run the control in your terminal:

steampipe check terraform_gcp_compliance.control.sql_instance_postgresql_log_planner_stats_database_flag_off

Snapshot and share results via Steampipe Cloud:

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

SQL

This control uses a named query:

sql_instance_postgresql_log_planner_stats_database_flag_off

Tags