PATH:
opt
/
bitninja-waf3
/
coreruleset
/
util
/
crs-rules-check
/
examples
SecRule &TX:blocking_paranoia_level "@eq 0" \ "id:901120,\ phase:1,\ pass,\ nolog,\ ver:'OWASP_CRS/4.0.0-rc1',\ setvar:'tx.blocking_paranoia_level=1'" SecRule &TX:detection_paranoia_level "@eq 0" \ "id:901125,\ phase:1,\ pass,\ nolog,\ ver:'OWASP_CRS/4.0.0-rc1',\ setvar:'tx.detection_paranoia_level=%{TX.blocking_paranoia_level}'" SecRule &TX:error_anomaly_score "@eq 0" \ "id:901141,\ phase:1,\ pass,\ nolog,\ ver:'OWASP_CRS/4.0.0-rc1',\ setvar:'tx.error_anomaly_score=4'" SecRule TX:DETECTION_PARANOIA_LEVEL "@lt 1" "id:920011,phase:1,pass,nolog,skipAfter:END-REQUEST-920-PROTOCOL-ENFORCEMENT" SecRule TX:DETECTION_PARANOIA_LEVEL "@lt 1" "id:920012,phase:2,pass,nolog,skipAfter:END-REQUEST-920-PROTOCOL-ENFORCEMENT" SecRule REQUEST_HEADERS:Content-Length "!@rx ^\d+$" \ "id:920160,\ phase:1,\ block,\ t:none,\ tag:'paranoia-level/2',\ severity:'CRITICAL',\ setvar:'tx.inbound_anomaly_score_pl1=+%{tx.error_anomaly_score}'" SecRule REQUEST_HEADERS:Content-Length "!@rx ^\d+$" \ "id:920161,\ phase:1,\ block,\ t:none,\ tag:'paranoia-level/1',\ setvar:'tx.inbound_anomaly_score_pl1=+%{tx.error_anomaly_score}'" SecRule REQUEST_HEADERS:Content-Length "!@rx ^\d+$" \ "id:920162,\ phase:1,\ block,\ t:none,\ tag:'paranoia-level/1',\ severity:'CRITICAL',\ setvar:'tx.inbound_anomaly_score_pl2=+%{tx.critical_anomaly_score}'" SecMarker "END-REQUEST-920-PROTOCOL-ENFORCEMENT"
[-] test5.conf
[edit]
[-] test7.conf
[edit]
[-] test4.conf
[edit]
[+]
..
[-] test2.conf
[edit]
[-] test1.conf
[edit]
[-] test9.conf
[edit]
[-] test10.conf
[edit]
[-] test3.conf
[edit]
[-] test8.conf
[edit]
[-] test6.conf
[edit]