Search code examples
securitygoogle-cloud-platformgcloudassetsgoogle-iam

how to list all publicly accessible GCP resources?


i need to list all of the publicly accessible GCP resources in my organisation for security enhancement, is it possible to do it with gcloud console ? mainly i need to list publicly resources for

  1. Storage
  2. SQL
  3. GKE
  4. Firewall rules

if possible, thanks


Solution

  • Use Google Cloud Security Command Center. It detects and lists Cloud Storage buckets with public access, VMs and Cloud SQL instances with public IP and open firewall rules.