Control: Ensure Instance IP assignment is set to private
Description
Instance addresses can be public IP or private IP. Public IP means that the instance is accessible through the public internet. In contrast, instances using only private IP are not accessible through the public internet, but are accessible through a Virtual Private Cloud (VPC).
Usage
Run the control in your terminal:
powerpipe control run gcp_compliance.control.sql_instance_not_publicly_accessible
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run gcp_compliance.control.sql_instance_not_publicly_accessible --share
SQL
This control uses a named query:
sql_instance_not_publicly_accessible