Closed kwaping closed 7 years ago
Sorry, I neglected to RTFM! Specifically https://github.com/p0pr0ck5/lua-resty-waf#rule-definitions and https://github.com/p0pr0ck5/lua-resty-waf/wiki/Known-ModSecurity-Translation-Limitations. Apologies!
Yeah, not all operators and collections are going to be translated 100%. If you'd like to contribute to translating any missing elements feel free to submit a PR :)
I'm trying to load https://github.com/SpiderLabs/ModSecurity/commit/5e4e2af7a6f07854fee6ed36ef4a381d4e03960e#diff-6e82b229be9e63263c7a16756f7887f6 as a base set of rules to kick off my WAF project. However, there are quite a few errors coming out of lua-resty-waf when reloading my Nginx config related to this file:
If you can give me some hints as to how to fix these issues, I will gladly do the work and create a pull request for you. Thanks!