Public facing ALB not protected by WAF
ID |
alb_protected_by_waf |
Severity |
low |
Vendor |
AWS |
Resource |
Networking |
Tags |
reachable |
Description
Public facing (application) load balancers should be protected by Web Application Firewall (WAF) rules.
WAF provides some protection against application-layer attacks, and this rule enforces that public facing LBs / ALBs are associated with a WAF Web ACL. A load balancer is considered public and serving applications when neither internal=true nor load_balancer_type is network or gateway.
See WAF Getting Started for an introduction to AWS WAF.
Examples
resource "aws_alb" "my_alb" { (1)
internal = false
load_balancer_type = "application"
}
1 | is a public facing ALB without explicit association with a WAF Web ACL. |