turbot/steampipe-mod-aws-compliance

Control: Network Firewall firewalls should have deletion protection enabled

Description

This control checks whether an AWS Network Firewall firewall has deletion protection enabled. The control fails if deletion protection isn't enabled for a firewall.

Usage

Run the control in your terminal:

powerpipe control run aws_compliance.control.networkfirewall_firewall_deletion_protection_enabled

Snapshot and share results via Turbot Pipes:

powerpipe login
powerpipe control run aws_compliance.control.networkfirewall_firewall_deletion_protection_enabled --share

SQL

This control uses a named query:

select
arn as resource,
case
when delete_protection then 'ok'
else 'alarm'
end status,
case
when delete_protection then title || ' delete protection enabled.'
else title || ' delete protection disabled.'
end reason
, region, account_id
from
aws_networkfirewall_firewall;

Tags