OWASP CRS Protection
Leverages OWASP Core Rule Set for web application firewall defense against SQLi, XSS, RCE, and LFI attacks.
Automated OWASP CRS patterns and Bad Bot detection for Nginx, Apache, Traefik, and HAProxy
Download the latest configurations from GitHub Releases or build from source:
git clone https://github.com/fabriziosalmi/patterns.git
cd patterns
pip install -r requirements.txt
python owasp2json.py
python json2nginx.py # or json2apache.py, json2traefik.py, json2haproxy.py| Platform | Config Format | Documentation |
|---|---|---|
| Nginx | .conf files | Read more → |
| Apache | ModSecurity rules | Read more → |
| Traefik | Middleware TOML | Read more → |
| HAProxy | ACL files | Read more → |
Using Caddy?
Check out the caddy-waf project for Caddy-specific WAF support.