More Info:

Cloud CDN global url maps should be configured to block HTTP connection and allow only HTTPS connections.

Risk Level

High

Address

Security

Compliance Standards

GDPR, PCIDSS, NIST, HITRUST, NISTCSF, SOC2

Triage and Remediation

Remediation

To remediate this misconfiguration for GCP using the GCP console, follow these steps:

  1. Open the GCP console and navigate to the Cloud CDN page.
  2. Select the Global URL Maps tab.
  3. Click on the name of the URL map that you want to modify.
  4. Click on the Edit button at the top of the page.
  5. In the Edit URL map page, scroll down to the Host and Path Rules section.
  6. Click on the Add Host and Path Rule button.
  7. In the new rule, set the Host to ”*” to match all hosts.
  8. Set the Path to ”/*” to match all paths.
  9. Set the Backend service to the appropriate backend service for your application.
  10. Under the Protocol section, select HTTPS from the dropdown menu.
  11. Click on the Save button to save the changes.

Once you have completed these steps, your Global URL Map will only accept HTTPS connections. Any HTTP connections will be rejected.

Additional Reading: