More Info:

Ensures Private Google Access is enabled for all Subnets. Private Google Access allows VM instances on a subnet to reach Google APIs and services without an IP address. This creates a more secure network for the internal communication.

Risk Level

Medium

Address

Security

Compliance Standards

GDPR

Triage and Remediation

Remediation

To remediate the misconfiguration “Private Access Should Be Enabled For Subnets” in GCP using GCP console, follow these steps:

  1. Login to your GCP console.
  2. Navigate to the VPC network page by clicking on the hamburger menu on the top left corner and selecting “VPC network” under the “NETWORKING” section.
  3. Click on the name of the VPC network that contains the subnet you want to edit.
  4. Click on the “Edit” button at the top of the page.
  5. Scroll down to the “Private Google access” section.
  6. Enable the “Private Google access” toggle switch.
  7. Click on the “Save” button at the bottom of the page.

By performing these steps, you have enabled private access for your subnets in GCP. This ensures that your resources running in the subnets can access Google APIs and services privately without going over the internet.

Additional Reading: