mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Adds sanity check to confirm that the rule has an ID and it is not duplicated
This commit is contained in:
@@ -56,10 +56,10 @@
|
||||
"SecRuleEngine On",
|
||||
"SecDebugLog \/tmp\/modsec_debug.log",
|
||||
"SecDebugLogLevel 9",
|
||||
"SecRule ARGS \"@contains test\" \"pass\"",
|
||||
"SecRule ARGS \"@contains /test.txt\" \"allow\"",
|
||||
"SecRule ARGS:teste \"@contains /test.txt\" \" allow,deny\"",
|
||||
"SecRule ARGS \"@contains /test.txt\" \"allow, allow,deny\""
|
||||
"SecRule ARGS \"@contains test\" \"id:3,pass\"",
|
||||
"SecRule ARGS \"@contains /test.txt\" \"id:4,allow\"",
|
||||
"SecRule ARGS:teste \"@contains /test.txt\" \" id:1,allow,deny\"",
|
||||
"SecRule ARGS \"@contains /test.txt\" \"allow, allow,id:2,deny\""
|
||||
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user