We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 98f6986 + 85701d3 commit 1ef072cCopy full SHA for 1ef072c
1 file changed
src/etc/modsecurity.d/modsecurity.conf
@@ -43,7 +43,7 @@ SecRule REQUEST_HEADERS:Content-Type "^(?:application(?:/soap\+|/)|text/)xml" \
43
"id:'200000',phase:1,t:none,t:lowercase,pass,nolog,ctl:requestBodyProcessor=XML"
44
SecRule REQUEST_HEADERS:Content-Type "^application/json" \
45
"id:'200001',phase:1,t:none,t:lowercase,pass,nolog,ctl:requestBodyProcessor=JSON"
46
-SecRule &ARGS "@ge 1000" \
+SecRule &ARGS "@ge ${MODSEC_ARGUMENTS_LIMIT}" \
47
"id:'200007', phase:2,t:none,log,deny,status:400,msg:'Failed to fully parse request body due to large argument count',severity:2"
48
SecRule REQBODY_ERROR "!@eq 0" \
49
"id:'200002', phase:2,t:none,log,deny,status:400,msg:'Failed to parse request body.',logdata:'%{reqbody_error_msg}',severity:2"
0 commit comments