turbot/gcp_insights

Query: compute_subnetwork_flow_logs

Usage

powerpipe query gcp_insights.query.compute_subnetwork_flow_logs

Steampipe Tables

SQL

select
'Flow Logs' as label,
case when enable_flow_logs then 'Enabled' else 'Disabled' end as value,
case when enable_flow_logs then 'ok' else 'alert' end as type
from
gcp_compute_subnetwork
where
id = (split_part($1, '/', 1))::bigint
and project = split_part($1, '/', 2);

Params

ArgsNameDefaultDescriptionVariable
$1id

    Dashboards

    The query is used in the dashboards: