Changes the timing to save the rule message

This commit is contained in:
Felipe Zimmerle
2018-10-17 22:46:48 -03:00
parent 8088d6af71
commit 69cd61439d
4 changed files with 33 additions and 5 deletions

View File

@@ -32,7 +32,7 @@
"rules": [
"SecRuleEngine On",
"SecAction \"id:1, nolog, setvar:tx.bad_value=attack\"",
"SecRule ARGS:param \"@rx ^%{tx.bad_value}$\" id:2"
"SecRule ARGS:param \"@rx ^%{tx.bad_value}$\" \"id:2,block\""
]
}
]