turbot/terraform_gcp_compliance

GitHub
Loading controls...

Control: Ensure 'log_hostname' database flag for Cloud SQL PostgreSQL instance is set appropriately

Description

PostgreSQL logs only the IP address of the connecting hosts. The log_hostname flag controls the logging of hostnames in addition to the IP addresses logged. The performance hit is dependent on the configuration of the environment and the host name resolution setup. This parameter can only be set in the postgresql.conf file or on the server command line.

Usage

Run the control in your terminal:

steampipe check terraform_gcp_compliance.control.sql_instance_postgresql_log_hostname_database_flag_configured

Snapshot and share results via Steampipe Cloud:

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

SQL

This control uses a named query:

sql_instance_postgresql_log_hostname_database_flag_configured

Tags