Check ID:
Provider: GCP
Service:
Severity: MEDIUM
Categories:
Resource type:
compute_network_default_in_useProvider: GCP
Service:
computeSeverity: MEDIUM
Categories:
trust-boundariesResource type:
compute.googleapis.com/NetworkWhat this check verifies
Projects are assessed for a VPC network nameddefault (the pre-created, auto-mode network).
Risk
Using the default VPC can weaken segmentation and expose services via permissive firewall rules (e.g., broad internal trust or public admin ports). This increases likelihood of unauthorized access, lateral movement, and data exfiltration, impacting confidentiality and integrity.Recommendation
Prefer custom VPCs overdefault. Remove unused default networks and apply least privilege with explicit firewall rules, private connectivity, and workload-based segmentation. Enforce creation controls (e.g., org policy to skip default network) and use defense in depth with logging and monitoring.
Remediation
- CLI
- Terraform
- Dashboard steps
gcloud compute networks delete default —quiet
References
- https://www.trendmicro.com/trendaivisiononecloudriskmanagement/knowledge-base/gcp/CloudVPC/default-vpc-in-use.html
- https://cloud.google.com/vpc/docs/using-vpc
Where this check fires
This check runs on every scheduled scan against your GCP account. Findings appear at Cloud Security → Findings filterable byCheck ID = compute_network_default_in_use. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to GCP checks