Check provider logo

Network Firewall has deletion protection enabled

networkfirewall_deletion_protection

Severitymedium
by Prowler

AWS Network Firewall firewalls have deletion protection enabled (DeleteProtection=true).

Risk

Without deletion protection, a firewall can be removed accidentally or by a compromised identity, letting traffic bypass inspection and logging.

This threatens confidentiality and integrity via unfiltered access, and harms availability through routing disruption and loss of perimeter controls.

Run this check with Prowler CLI

prowler aws --checks networkfirewall_deletion_protection

Recommendation

Enable deletion protection on every firewall (DeleteProtection=true). Enforce least privilege to prevent delete actions, require change approval for firewall modifications, and implement guardrails with policy-as-code. Apply defense in depth so alternate controls contain traffic if a firewall is altered.

Remediation

CLI

aws network-firewall update-firewall-delete-protection --firewall-name <FIREWALL_NAME> --delete-protection

Native IaC
Terraform
Other
  1. Open the AWS console and go to VPC > Network Firewall > Firewalls
  2. Select the target firewall
  3. On Firewall details, choose Edit (or Change protections)
  4. Enable Deletion protection
  5. Save changes

Source Code

Resource Type

AwsNetworkFirewallFirewall

References