# GCP - Network Enumeration ## Network Enumeration ### Compute ```bash # List networks gcloud compute networks list gcloud compute networks describe # List subnetworks gcloud compute networks subnets list gcloud compute networks subnets get-iam-policy --region gcloud compute networks subnets describe --region # List FW rules in networks gcloud compute firewall-rules list ``` You easily find compute instances with open firewall rules with [https://gitlab.com/gitlab-com/gl-security/security-operations/gl-redteam/gcp\_firewall\_enum](https://gitlab.com/gitlab-com/gl-security/security-operations/gl-redteam/gcp\_firewall\_enum)