Control: GCP > SQL > Instance > Public IP
Configure whether a GCP > SQL > Instance may have a public IP address.
The Public IP control compares the instance's IP settings against the Public IP policy for the resource (GCP > SQL > Instance > Public IP), raises an alarm when the instance has a public IP address, and takes the defined enforcement action.
Primary instances, read replicas and read pools are checked. On-premises instances are skipped, because Cloud SQL does not manage their addresses. Enforcement only turns the public IP off when the instance has a private network or Private Service Connect enabled; otherwise the instance stays in alarm.
Resource Types
This control targets the following resource types:
Policies
The following policies can be used to configure this control:
Permissions
Cloud permissions used by this control and its actions:
cloudsql.instances.update
Category
In Your Workspace
Developers
- tmod:@turbot/gcp-sql#/control/types/instancePublicIp
- tmod:@turbot/turbot#/control/categories/security
- turbot graphql controls --filter "controlTypeId:tmod:@turbot/gcp-sql#/control/types/instancePublicIp"
Get Controls