Check if response body inspection is enabled before process it

This commit is contained in:
Felipe Zimmerle
2018-05-08 09:23:16 -03:00
parent 389cc25359
commit 42a472adbd
9 changed files with 20 additions and 0 deletions

View File

@@ -77,6 +77,7 @@
"SecRuleEngine On",
"SecRule ARGS:key \"@contains other_value\" \"chain,pass,phase:response,id:28\"",
"SecRule MATCHED_VAR \"@contains Aasdf\" \"\"",
"SecResponseBodyAccess On",
"SecRule MATCHED_VAR \"@contains other_value\" \"id:29,phase:response,pass\"",
"SecRule MATCHED_VAR \"@contains other_value\" \"id:30,phase:response,pass\""
]