mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-16 07:56:12 +03:00
regression: Using github instead of modsecurity.org for SecRemoteRules
This commit is contained in:
parent
4e76c6adf0
commit
b574418386
@ -32,11 +32,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"expected":{
|
"expected":{
|
||||||
"debug_log":"Executing operator \"PmFromFile\" with param \"https://www.modsecurity.org/modsecurity-regression-test.txt\" against REQUEST_FILENAME"
|
"debug_log":"Executing operator \"PmFromFile\" with param \".*\" against REQUEST_FILENAME"
|
||||||
},
|
},
|
||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecRemoteRules key https://www.modsecurity.org/modsecurity-regression-test-secremoterules.txt",
|
"SecRemoteRules key https://gist.githubusercontent.com/zimmerle/a4c1ec028999f7df71d0cc80f4f271ca/raw/4c74363bf4eae974180f1a82007196e58729dd16/modsecurity-regression-test-secremoterules.txt",
|
||||||
"SecRule ARGS \"@contains somethingelse\" \"id:9,pass,t:trim\""
|
"SecRule ARGS \"@contains somethingelse\" \"id:9,pass,t:trim\""
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@ -51,7 +51,7 @@
|
|||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecRemoteRulesFailAction Abort",
|
"SecRemoteRulesFailAction Abort",
|
||||||
"SecRemoteRules key https://www.modsecurity.org/modsecurity-regression-test-secremoterules-bonga.txt"
|
"SecRemoteRules key https://gist.githubusercontent.com/zimmerle/a4c1ec028999f7df71d0cc80f4f271ca/raw/4c74363bf4eae974180f1a82007196e58729dd16/modsecurity-regression-test-secremoterules-bonga.txt"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -92,7 +92,7 @@
|
|||||||
"rules":[
|
"rules":[
|
||||||
"SecRuleEngine On",
|
"SecRuleEngine On",
|
||||||
"SecRemoteRulesFailAction Warn",
|
"SecRemoteRulesFailAction Warn",
|
||||||
"SecRemoteRules key https://www.modsecurity.org/modsecurity-regression-test-secremoterules-bonga.txt",
|
"SecRemoteRules key https://gist.githubusercontent.com/zimmerle/a4c1ec028999f7df71d0cc80f4f271ca/raw/4c74363bf4eae974180f1a82007196e58729dd16/modsecurity-regression-test-secremoterules-bonga.txt",
|
||||||
"SecRule ARGS \"@contains somethingelse\" \"id:9,pass,t:trim\""
|
"SecRule ARGS \"@contains somethingelse\" \"id:9,pass,t:trim\""
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user