Control: Ensure VPC Flow logs is enabled for every subnet in VPC Network
Usage
Run the control in your terminal:
powerpipe control run gcp_compliance.control.enable_network_flow_logs
Snapshot and share results via Turbot Pipes:
powerpipe loginpowerpipe control run gcp_compliance.control.enable_network_flow_logs --share
SQL
This control uses a named query:
compute_subnetwork_flow_log_enabled