Skip to main content

Repository → 💼 CIS GCP v1.1.0 → 💼 6 Cloud SQL Database Services → 💼 6.2 PostgreSQL Database

💼 6.2.5 Ensure that the 'log_min_messages' database flag for Cloud SQL PostgreSQL instance is set appropriately

  • ID: /frameworks/cis-gcp-v1.1.0/06/02/05

Description

The 'log_min_error_statement' flag defines the minimum message severity level that is considered as an error statement. Messages for error statements are logged with the SQL statement. Valid values include 'DEBUG5', 'DEBUG4', 'DEBUG3', 'DEBUG2', 'DEBUG1', 'INFO', 'NOTICE', 'WARNING', 'ERROR', 'LOG', 'FATAL', and 'PANIC'. Each severity level includes the subsequent levels mentioned above.

Note: To effectively turn off logging failing statements, set this parameter to PANIC.

ERROR is considered the best practice setting. Changes should only be made in accordance with the organization's logging policy.

Similar

  • Internal
    • ID: dec-c-bed9f447

Sub Sections

SectionSub SectionsInternal RulesPoliciesFlagsCompliance