turbot/terraform_gcp_compliance

GitHub
Loading controls...

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

Description

Enabling the log_connections setting causes each attempted connection to the server to be logged, along with successful completion of client authentication. This parameter cannot be changed after the session starts.

Usage

Run the control in your terminal:

steampipe check terraform_gcp_compliance.control.sql_instance_postgresql_log_connections_database_flag_on

Snapshot and share results via Steampipe Cloud:

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

SQL

This control uses a named query:

sql_instance_postgresql_log_connections_database_flag_on

Tags