|
339 | 339 | "id:'200001',phase:1,t:none,t:lowercase,pass,nolog,ctl:requestBodyProcessor=JSON" |
340 | 340 | SecRule REQBODY_ERROR "!\@eq 0" \\ |
341 | 341 | "id:'200002', phase:2,t:none,log,deny,status:400,msg:'Failed to parse request body.',logdata:'%{reqbody_error_msg}',severity:2" |
342 | | - SecRule ARGS "bad_value" "id:'200003',phase:2,t:none,deny" |
| 342 | + SecRule ARGS "bad_value" "id:'200003',phase:2,t:none,deny" |
343 | 343 | ), |
344 | 344 | match_log => { |
345 | 345 | debug => [ qr/JSON: Allow partial processing of request body|JSON support was not enabled/, 1 ], |
|
370 | 370 | "id:'200001',phase:1,t:none,t:lowercase,pass,nolog,ctl:requestBodyProcessor=JSON" |
371 | 371 | SecRule REQBODY_ERROR "!\@eq 0" \\ |
372 | 372 | "id:'200002', phase:2,t:none,log,deny,status:400,msg:'Failed to parse request body.',logdata:'%{reqbody_error_msg}',severity:2" |
373 | | - SecRule ARGS "bad_value" "id:'200003',phase:2,t:none,deny" |
| 373 | + SecRule ARGS "bad_value" "id:'200003',phase:2,t:none,deny" |
374 | 374 | ), |
375 | 375 | match_log => { |
376 | 376 | error => [ qr/Access denied with code 403 \(phase 2\)\. Pattern match "bad_value" at ARGS:b\./, 1 ], |
|
403 | 403 | "id:'200001',phase:1,t:none,t:lowercase,pass,nolog,ctl:requestBodyProcessor=JSON" |
404 | 404 | SecRule REQBODY_ERROR "!\@eq 0" \\ |
405 | 405 | "id:'200002', phase:2,t:none,log,deny,status:400,msg:'Failed to parse request body.',logdata:'%{reqbody_error_msg}',severity:2" |
406 | | - SecRule ARGS "bad_value" "id:'200003',phase:2,t:none,deny" |
| 406 | + SecRule ARGS "bad_value" "id:'200003',phase:2,t:none,deny" |
407 | 407 | ), |
408 | 408 | match_log => { |
409 | 409 | error => [ qr/Request body \(Content-Length\) is larger than the configured limit \(26\)\./, 1 ], |
|
434 | 434 | "id:'200001',phase:1,t:none,t:lowercase,pass,nolog,ctl:requestBodyProcessor=JSON" |
435 | 435 | SecRule REQBODY_ERROR "!\@eq 0" \\ |
436 | 436 | "id:'200002', phase:2,t:none,log,deny,status:400,msg:'Failed to parse request body.',logdata:'%{reqbody_error_msg}',severity:2" |
437 | | - SecRule ARGS "bad_value" "id:'200003',phase:2,t:none,deny" |
| 437 | + SecRule ARGS "bad_value" "id:'200003',phase:2,t:none,deny" |
438 | 438 | ), |
439 | 439 | match_log => { |
440 | 440 | error => [ qr/Request body \(Content-Length\) is larger than the configured limit \(26\)\./, 1 ], |
|
0 commit comments