turbot/gcp_compliance

Query: compute_subnetwork_flow_log_enabled

Usage

powerpipe query gcp_compliance.query.compute_subnetwork_flow_log_enabled

Steampipe Tables

SQL

select
self_link resource,
case
when enable_flow_logs then 'ok'
else 'alarm'
end as status,
case
when enable_flow_logs
then title || ' flow logging enabled.'
else title || ' flow logging disabled.'
end as reason
, location as location, project as project
from
gcp_compute_subnetwork;

Controls

The query is being used by the following controls: