π‘οΈ AWS WAF Web ACL has no WAF Rules or WAF Rule Groupsπ’
- Contextual name: π‘οΈ Web ACL has no WAF Rules or WAF Rule Groupsπ’
- ID:
/ce/ca/aws/waf/web-acl-without-rules - Tags:
- π’ Policy with categories
- π’ Policy with type
- π’ Production policy
- Policy Type:
COMPLIANCE_POLICY - Policy Categories:
SECURITY
Logicβ
- π§ prod.logic.yamlπ π’
- π AWS WAF Web ACL
- π§ͺ test-data.json
Similar Policiesβ
- AWS Security Hub: [WAF.4] AWS WAF Classic Regional web ACLs should have at least one rule or rule group
- AWS Security Hub: [WAF.8] AWS WAF Classic global web ACLs should have at least one rule or rule group
- AWS Security Hub: [WAF.10] AWS WAF web ACLs should have at least one rule or rule group
Descriptionβ
Descriptionβ
This policy identifies AWS WAF Web ACLs that do not have any associated rules or rule groups. Such Web ACLs are not actively enforcing security controls and may leave web applications unprotected.
Rationaleβ
Web ACLs are a key part of AWS WAF security. They examine incoming web requests and take actions based on defined rules, such as allowing, blocking, or counting requests. When a Web ACL has no rules or rule groups, it does not inspect any traffic. As a result, the web applications associated with that Web ACL remain unprotected.
Ensuring that every Web ACL has at least one active rule or rule group helps maintain consistent security coverage and prevents gaps in protection.
Auditβ
This policy flags an AWS WAF Web ACL as
INCOMPLIANTif it does not have any associated AWS WAF Rules, AWS WAF Rule Groups, or AWS WAF Web ACL Activated Rule
Remediationβ
Remediationβ
Add Rules to the Web ACLβ
A Web ACL must have at least one rule or rule group to provide effective protection. If a Web ACL currently has no rules, you need to add rules to enforce security policies and filter web traffic.
Testing and deployment: Before making changes in production, test them in a staging environment to understand their impact. Once you are confident, use count mode with production traffic to monitor the effect of the rules before enabling full enforcement. This approach helps prevent unintended disruptions to live traffic.
Note: Using more than 1,500 WCUs in a Web ACL incurs costs beyond the basic Web ACL price.
From Consoleβ
In the navigation pane, choose Resources & protection packs (web ACLs).
Select the Web ACL you want to edit. The main Web ACL card will become editable, and a side pane will open with additional details you can modify.
Add or remove rules as needed, or make other configuration changes. While updating a Web ACL, AWS WAF continues to provide coverage to the resources associated with it.
... see more