The default stateless action for Network Firewall policies should be drop or forward for fragmented packets¶
This control checks whether the default stateless action for fragmented packets for a Network Firewall policy is drop or forward. The control passes if Drop or Forward is selected, and fails if Pass is selected.
How to fix¶
Attribute firewall_policy[0].stateless_fragment_default_actions of aws_networkfirewall_firewall_policy must be non-empty.
Implementation options¶
Choose the option that matches how you manage Terraform. All options satisfy this control.
Option 1: Terraform AWS provider resources¶
If you manage resources directly, configure the relevant Terraform AWS provider resources to meet this control. See docs for the resources involved: aws_networkfirewall_firewall_policy.
resource "aws_networkfirewall_firewall_policy" "this" {
firewall_policy {
stateless_default_actions = ["aws:drop"]
stateless_fragment_default_actions = ["aws:drop"]
}
name = "pofix-example-policy"
}
Which option should I choose?
- Compliance.tf module (recommended): controls enforced by default and mapped to frameworks.
- Open source module (
terraform-aws-modules): compatible by design with compliance.tf. Same variable names for an easy, low-change migration path when you are ready. - Terraform AWS provider resources: manage Terraform resources directly.
Tool mappings¶
Use these identifiers to cross-reference this control across tools, reports, and evidence.
Compliance.tf (CTF) Control:
networkfirewall_firewall_policy_default_stateless_action_check_fragmented_packetsAWS Config Managed Rule:
NETFW_POLICY_DEFAULT_ACTION_FRAGMENT_PACKETSPowerpipe Control:
aws_compliance.control.networkfirewall_firewall_policy_default_stateless_action_check_fragmented_packets