mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Refactoring on the Rule class
This commit is contained in:
@@ -31,11 +31,12 @@
|
||||
]
|
||||
},
|
||||
"expected":{
|
||||
"debug_log":"ARGS:key is part of the exclusion list \\(from update by msg\\), skipping"
|
||||
"http_code": 200
|
||||
},
|
||||
"rules":[
|
||||
"SecRuleEngine On",
|
||||
"SecRuleUpdateTargetByMsg test !ARGS",
|
||||
"SecRule ARGS \"@contains test\" \"id:1,pass,t:trim,msg:'test'\""
|
||||
"SecRule ARGS \"@contains value\" \"id:1,pass,t:trim,msg:'test',deny\""
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Reference in New Issue
Block a user