Checks if AWS Network Firewall policies have at least one rule group associated to filter network traffic effectively.
| Rule | Network Firewall policies should have at least one rule group associated |
| Framework | AWS Foundational Security Best Practices |
| Severity | ✔ Medium |
Description:
Network firewall policies should have at least one rule group associated for AWS Foundational Security Best Practices. Rule groups can help enforce security best practices and prevent unauthorized access to resources.
Troubleshooting Steps:
If a firewall policy does not have a rule group associated for AWS Foundational Security Best Practices, follow these steps:
Necessary Codes:
If you need to add a rule group for AWS Foundational Security Best Practices to a firewall policy, you can use the following AWS CLI command:
aws network-firewall associate-firewall-policy --firewall-policy-id <firewall-policy-id> --firewall-policy-arn arn:aws:network-firewall:<region>:<account-id>:firewall-policy/<firewall-policy-id> --update-token <update-token> --rule-groups "Type=STATELESS|STATEFUL,ResourceName=<resource-name>,ResourceArn=<resource-arn>"
Remediation Steps:
To remediate the issue and add a rule group for AWS Foundational Security Best Practices to a network firewall policy, follow these steps:
By following these steps, you can ensure that network firewall policies have at least one rule group associated for AWS Foundational Security Best Practices, helping to enhance the security of your AWS resources.