I am going through Security Command Center in Google Cloud and I have the following security finding:
- Name: ORG_POLICY_LOCATION_RESTRICTION
- Description: The resource is outside of the locations set on the Resource Location Restriction policy
- Resource display name: default
- Resource full name: //compute.googleapis.com/projects/MYPROJECT/regions/us-east5/subnetworks/default
- Resource type: google.compute.Subnetwork
Next steps
Please visit this Google Cloud Platform page that will help you to resolve the location violation that is affecting the google.compute.Subnetwork resource default.
Please delete this resource in order to resolve the resource violation associated with 'gcp.resourceLocations' organisation policy.
Deletion
When I go to VPC networks
I see a lot of default
networks, but they cannot be deleted.
How can I delete them?
The default network is an auto mode VPC network with pre-populated IPv4 firewall rules. The default network does not have pre-populated IPv6 firewall rules.Unless you choose to disable it, each new project starts with a default network.
As per this official document :