Control: GCP SQL PostgreSQL instance should have log_min_error_statement database flag set to ERROR or lower
Description
This control checks whether the log_min_error_statement database flag for Cloud SQL PostgreSQL instance is set to ERROR or lower.
Usage
Run the control in your terminal:
powerpipe control run terraform_gcp_compliance.control.sql_instance_postgresql_log_min_error_statement_flag_set
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_gcp_compliance.control.sql_instance_postgresql_log_min_error_statement_flag_set --share
SQL
This control uses a named query:
sql_instance_postgresql_log_min_error_statement_flag_set