More Info:

Cloud CDN regional backend services should have session affinity enabled.

Risk Level

Medium

Address

Operational Maturity, Performance Efficiency, Security

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the misconfiguration of “Cloud CDN Regional Backend Services Should Have Session Affinity” for GCP using GCP console, follow the below steps:

  1. Open the Google Cloud Console and navigate to the Cloud CDN page.

  2. In the left-hand navigation menu, select “Backend Services”.

  3. Select the Backend Service that you want to configure session affinity for.

  4. Click on the “Edit” button at the top of the page to edit the Backend Service.

  5. Scroll down to the “Session Affinity” section and select “Client IP” from the dropdown menu.

  6. Click on the “Save” button at the bottom of the page to save the changes.

  7. Verify the configuration by checking the “Session Affinity” column in the list of Backend Services. It should now show “Client IP”.

By following the above steps, you have successfully remediated the misconfiguration of “Cloud CDN Regional Backend Services Should Have Session Affinity” for GCP using GCP console.

Additional Reading: