More Info:

Ensure that “Restrict Shared VPC Subnetworks” policy is enforced for your GCP organizations.

Risk Level

Medium

Address

Security, Operational Maturity

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the “Restrict Shared VPC Subnetworks” misconfiguration in GCP using GCP console, you can follow these steps:

  1. Open the GCP console and go to the VPC network page.
  2. Select the shared VPC network for which you want to restrict subnetworks.
  3. In the “Subnetworks” section, click on the “Edit” button.
  4. In the “Subnetworks” dialog box, uncheck the “Allow new subnetworks in this VPC network” option.
  5. Click on the “Save” button to apply the changes.

By following these steps, you have successfully restricted the creation of new subnetworks in the shared VPC network, which will help in preventing unauthorized access and potential security threats.