Remediation
From Google Cloud Console
- Go to the Cloud SQL Instances page in the Google Cloud Console by visiting https://console.cloud.google.com/sql/instances.
- Click the instance name to open its
Instance detailspage. - Under the
Configurationsection clickEdit configurations - Under
Configuration optionsexpand theConnectivitysection. - Click the
deleteicon for the authorized network0.0.0.0/0. - Click
Saveto update the instance.
From Google Cloud CLI
Update the authorized network list by dropping off any addresses.
gcloud sql instances patch <INSTANCE_NAME> --authorized-networks=IP_ADDR1,IP_ADDR2...