turbot/aws_compliance

Query: networkfirewall_firewall_in_vpc

Usage

powerpipe query aws_compliance.query.networkfirewall_firewall_in_vpc

SQL

select
arn as resource,
case
when vpc_id is null or vpc_id = '' then 'alarm'
else 'ok'
end status,
case
when vpc_id is null or vpc_id = '' then title || ' is not in VPC.'
else title || ' is in VPC ' || vpc_id || '.'
end reason
, region, account_id
from
aws_networkfirewall_firewall;

Controls

The query is being used by the following controls: