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 details
page. - Under the
Configuration
section clickEdit configurations
- Under
Configuration options
expand theConnectivity
section. - Click the
delete
icon for the authorized network0.0.0.0/0
. - Click
Save
to 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...