Control: GCP SQL instance should not be publicly accessible
Description
This control checks whether the GCP SQL instance is publicly accessible.
Usage
Run the control in your terminal:
powerpipe control run terraform_gcp_compliance.control.sql_instance_publicly_accessible
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run terraform_gcp_compliance.control.sql_instance_publicly_accessible --share
SQL
This control uses a named query:
sql_instance_publicly_accessible