Skip to main content

💼 6.2.1 Ensure ‘Log_error_verbosity’ Database Flag for Cloud SQL PostgreSQL Instance Is Set to ‘DEFAULT’ or Stricter - Level 2 (Automated)

  • Contextual name: 💼 6.2.1 Ensure ‘Log_error_verbosity’ Database Flag for Cloud SQL PostgreSQL Instance Is Set to ‘DEFAULT’ or Stricter - Level 2 (Automated)
  • ID: /frameworks/cis-gcp-v3.0.0/06/02/01
  • Located in: 💼 6.2 PostgreSQL Database

Description

The log_error_verbosity flag controls the verbosity/details of messages logged. Valid values are:

  • TERSE
  • DEFAULT
  • VERBOSE

TERSE excludes the logging of DETAIL, HINT, QUERY, and CONTEXT error information.

VERBOSE output includes the SQLSTATE error code, source code file name, function name, and line number that generated the error.

Ensure an appropriate value is set to 'DEFAULT' or stricter.

Similar

  • Internal
    • ID: dec-c-4bf9ccf6

Sub Sections

SectionSub SectionsInternal RulesPoliciesFlags

Policies (1)

PolicyLogic CountFlags
📝 Google Cloud PostgreSQL Instance Log_error_verbosity Database Flag is not set to DEFAULT or stricter 🟢1🟢 x6