Check ID:
Provider: AWS
Service:
Severity: MEDIUM
Resource type:
waf_regional_rulegroup_not_emptyProvider: AWS
Service:
wafSeverity: MEDIUM
Resource type:
AwsWafRegionalRuleGroupWhat this check verifies
AWS WAF Classic Regional rule groups are evaluated to confirm they contain at least one rule. Groups with no rule entries are considered empty.Risk
An empty rule group contributes no filtering in a web ACL, letting requests bypass inspection within that group. This erodes defense in depth and can enable injection, brute-force, or bot traffic to reach applications, threatening confidentiality, integrity, and availability.Recommendation
Apply least privilege: populate each rule group with vetted rules aligned to your threat model, usingALLOW, BLOCK, or COUNT actions as appropriate. Remove or disable unused groups to avoid false assurance. Validate behavior in staging and monitor metrics to maintain defense in depth.
Remediation
- CLI
- Terraform
- Native IaC
- Dashboard steps
References
- https://docs.aws.amazon.com/cli/latest/reference/waf-regional/update-rule-group.html
- https://docs.aws.amazon.com/waf/latest/developerguide/waf-rule-groups.html
- https://docs.aws.amazon.com/securityhub/latest/userguide/waf-controls.html#waf-3
Where this check fires
This check runs on every scheduled scan against your AWS account. Findings appear at Cloud Security → Findings filterable byCheck ID = waf_regional_rulegroup_not_empty. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to AWS checks