Google > SQL >

PostgreSQL Log Min Duration Statement

MEDIUM
Source
CloudSploit
ID
postgresql-log-min-duration-statement

PostgreSQL Log Min Duration Statement

Ensures SQL instances for PostgreSQL type have log min duration statement flag disabled.

SQL instance for PostgreSQL databases provides log_min_duration_statement flag. It is used to log the duration of every completed statement. This should always be disabled as there can be sensitive information as well that should not be recorded in the logs.

Ensure that log_min_duration_statement flag is disabled for all PostgreSQL instances.