turbot/aws_compliance

Query: networkfirewall_firewall_logging_enabled

Usage

powerpipe query aws_compliance.query.networkfirewall_firewall_logging_enabled

SQL

select
arn as resource,
case
when jsonb_array_length(logging_configuration) > 0 then 'ok'
else 'alarm'
end status,
case
when jsonb_array_length(logging_configuration) > 0 then title || ' logging enabled.'
else title || ' logging disabled.'
end reason
, region, account_id
from
aws_networkfirewall_firewall;

Controls

The query is being used by the following controls: