More Info:

Ensure that the log_executor_stats database flag for a Cloud SQL PostgreSQL instance is set to off.

Risk Level

Low

Address

Reliability, Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the PostgreSQL Log Executor Stats flag issue for GCP using the GCP console, follow these steps:

  1. Open the GCP console and go to the Cloud SQL Instances page.
  2. Select the instance that you want to remediate.
  3. Click on the Edit button at the top of the page.
  4. Scroll down to the Flags section and locate the log_executor_stats flag.
  5. If the flag is set to on, click on the X button to remove it.
  6. Click on the Save button at the bottom of the page to apply the changes.

After following these steps, the PostgreSQL Log Executor Stats flag will be turned off, and the misconfiguration will be remediated.