More Info:

Log Error Verbosity Flag should be DEFAULT or Stricter. Changing the Verbosity Flag would force the instance to be restarted. Check the list of supported flags -https://cloud.google.com/sql/docs/postgres/flags - to see if your instance will be restarted when this patch is submitted.

Risk Level

Low

Address

Reliability, Security

Compliance Standards

CISGCP, CBP

Triage and Remediation

Remediation

To remediate the PostgreSQL log error verbosity flag misconfiguration in GCP using GCP console, you can follow the below steps:

  1. Login to the GCP console and navigate to the Cloud SQL instances page.
  2. Select the instance for which you want to remediate the misconfiguration.
  3. Click on the “Edit” button at the top of the page.
  4. Scroll down to the “Flags” section and click on the “Add item” button.
  5. In the “Name” field, enter “log_error_verbosity” and in the “Value” field, enter “default” or “less verbose”.
  6. Click on the “Save” button to save the changes.

This will remediate the PostgreSQL log error verbosity flag misconfiguration in GCP using GCP console.

Additional Reading: