More Info:

Ensure that PubSub Subscriptions retain acknowledged messages

Risk Level

Low

Address

Operational Excellence, Reliability

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration “PubSub Subscriptions Should Retain Acknowledged Messages For Record Keeping” for GCP using GCP console, follow these steps:

  1. Open the Google Cloud Console and navigate to the Pub/Sub page.
  2. Select the subscription that you want to configure.
  3. Click on the “Edit” button at the top of the page.
  4. In the “Message retention duration” section, select “Custom”.
  5. Enter the number of days that you want to retain acknowledged messages.
  6. Click on the “Save” button to apply the changes.

By following these steps, you will remediate the misconfiguration “PubSub Subscriptions Should Retain Acknowledged Messages For Record Keeping” for GCP using GCP console.

Additional Reading: