Skip to content

Commit b574418

Browse files
committed
regression: Using github instead of modsecurity.org for SecRemoteRules
1 parent 4e76c6a commit b574418

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

test/test-cases/regression/config-secremoterules.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@
3232
]
3333
},
3434
"expected":{
35-
"debug_log":"Executing operator \"PmFromFile\" with param \"https://www.modsecurity.org/modsecurity-regression-test.txt\" against REQUEST_FILENAME"
35+
"debug_log":"Executing operator \"PmFromFile\" with param \".*\" against REQUEST_FILENAME"
3636
},
3737
"rules":[
3838
"SecRuleEngine On",
39-
"SecRemoteRules key https://www.modsecurity.org/modsecurity-regression-test-secremoterules.txt",
39+
"SecRemoteRules key https://gist.githubusercontent.com/zimmerle/a4c1ec028999f7df71d0cc80f4f271ca/raw/4c74363bf4eae974180f1a82007196e58729dd16/modsecurity-regression-test-secremoterules.txt",
4040
"SecRule ARGS \"@contains somethingelse\" \"id:9,pass,t:trim\""
4141
]
4242
},
@@ -51,7 +51,7 @@
5151
"rules":[
5252
"SecRuleEngine On",
5353
"SecRemoteRulesFailAction Abort",
54-
"SecRemoteRules key https://www.modsecurity.org/modsecurity-regression-test-secremoterules-bonga.txt"
54+
"SecRemoteRules key https://gist.githubusercontent.com/zimmerle/a4c1ec028999f7df71d0cc80f4f271ca/raw/4c74363bf4eae974180f1a82007196e58729dd16/modsecurity-regression-test-secremoterules-bonga.txt"
5555
]
5656
},
5757
{
@@ -92,7 +92,7 @@
9292
"rules":[
9393
"SecRuleEngine On",
9494
"SecRemoteRulesFailAction Warn",
95-
"SecRemoteRules key https://www.modsecurity.org/modsecurity-regression-test-secremoterules-bonga.txt",
95+
"SecRemoteRules key https://gist.githubusercontent.com/zimmerle/a4c1ec028999f7df71d0cc80f4f271ca/raw/4c74363bf4eae974180f1a82007196e58729dd16/modsecurity-regression-test-secremoterules-bonga.txt",
9696
"SecRule ARGS \"@contains somethingelse\" \"id:9,pass,t:trim\""
9797
]
9898
}

0 commit comments

Comments
 (0)