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 loginpowerpipe 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_idfrom aws_networkfirewall_firewall;