actions: Removes Rule parameter from runtime execute

Generals organization on the Action class
This commit is contained in:
Felipe Zimmerle
2020-05-18 21:33:03 -03:00
parent 2ee9ccffa9
commit c90325062b
192 changed files with 3239 additions and 3038 deletions

View File

@@ -831,13 +831,13 @@
]
},
"expected":{
"error_log":"o0,4v64,13t:lowercase",
"error_log":"o0,4v64,13t:lowerCase",
"http_code": 403
},
"rules":[
"SecRequestBodyAccess On",
"SecRuleEngine On",
"SecRule REQUEST_HEADERS_NAMES \"auth\" \"id:1,phase:2,pass,t:lowercase,msg:'ops',deny\""
"SecRule REQUEST_HEADERS_NAMES \"auth\" \"id:1,phase:2,pass,t:lowerCase,msg:'ops',deny\""
]
},
{
@@ -865,13 +865,13 @@
]
},
"expected":{
"error_log":"o1,2v216,3t:lowercase",
"error_log":"o1,2v216,3t:lowerCase",
"http_code":403
},
"rules":[
"SecRequestBodyAccess On",
"SecRuleEngine On",
"SecRule REQUEST_COOKIES \"es\" \"id:1,phase:2,pass,t:lowercase,msg:'ops',deny\""
"SecRule REQUEST_COOKIES \"es\" \"id:1,phase:2,pass,t:lowerCase,msg:'ops',deny\""
]
},
{
@@ -899,13 +899,13 @@
]
},
"expected":{
"error_log":"o0,1v223,1t:lowercase",
"error_log":"o0,1v223,1t:lowerCase",
"http_code":403
},
"rules":[
"SecRequestBodyAccess On",
"SecRuleEngine On",
"SecRule REQUEST_COOKIES \"z\" \"id:1,phase:2,pass,t:lowercase,msg:'ops',deny\""
"SecRule REQUEST_COOKIES \"z\" \"id:1,phase:2,pass,t:lowerCase,msg:'ops',deny\""
]
},
{
@@ -933,13 +933,13 @@
]
},
"expected":{
"error_log":"o0,1v228,1t:lowercase",
"error_log":"o0,1v228,1t:lowerCase",
"http_code": 403
},
"rules":[
"SecRequestBodyAccess On",
"SecRuleEngine On",
"SecRule REQUEST_COOKIES \"b\" \"id:1,phase:2,pass,t:lowercase,msg:'ops',deny\""
"SecRule REQUEST_COOKIES \"b\" \"id:1,phase:2,pass,t:lowerCase,msg:'ops',deny\""
]
},
{