I've been trying to put a WAF on a load-balancer at AWS.
There is a parameter inside my web application (but it is only used in one url, not in all) which I left on purpose with a command injection vulnerability, to fix this I decided to fix it using AWS ACL and putting a Regex rule telling it that when the "path" parameter doesn't match the regular expression I should block and as default action of the ACL I should leave allow.
The result is that all the requests that I am making are output with 403 with or without a path parameter. The truth is that I can't find any material about this rule and I don't know what I'm doing wrong, I attach pictures.
https://i.stack.imgur.com/K6rCm.png
https://i.stack.imgur.com/R69Lv.png
https://i.stack.imgur.com/gYVBL.png
https://i.stack.imgur.com/LfyHg.png