Request flow when AWS WAF, ALB associated and ALB 4xx

179 Views Asked by At

We have a server configured under a ALB associated with a WAF

As the underlying service receives requests for your web sites, it forwards those requests to AWS WAF for inspection against your rules. Once a request meets a condition defined in your rules, AWS WAF instructs the underlying service to either block or allow the request based on the action you define.

Above is mentioned in AWS FAQ and according to that I have a understanding that requests first comes to ALB and then forward to WAF.

My questions are in my environment I see some bad requests comes and returns 400 on ALB. they are not counted in WAF so is that mean bad requests are process in ALB? Bad requests are not forwarded to WAF? If I want to forward all the ALB request to WAF is it possible?

0

There are 0 best solutions below