-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to enable SIMULATE mode in lua-resty-waf ? #2316
Comments
Hi VietNC, it is not supported as of now, but will be supported soon - I have a WIP PR that will be ready soon. |
Hi @ElvinEfendi , Thank you so much. Really looking forward this, is it #2315 ? I have take a look this pull request, but still can't found the info relate to "waf:set_option" with "mode" ? Best Regards, |
no, https://github.com/kubernetes/ingress-nginx/pull/2317/files is the one. |
(unrelated to this issue, but thought I might ask this here) @vietwow what |
Hi,
lua-resty-waf was implememented in ingress-ingress (#2304). I am very appreciated your effort. One of the most important feature (I think) of lua-resty-waf is enabling this:
waf:set_option("mode", "SIMULATE")
This mode let me activate lua-resty-waf but just only warning (logging), when there is a request that match the waf rules, not blocking the request. This mode is really necessary when we are in production mode and not yet ready for a stable rules (in experiment).
So how can I enable this mode in ingress-nginx ? is this supported ? Thank you so much.
Best Regards,
VietNC
The text was updated successfully, but these errors were encountered: