mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
Adds support for curl resource on the regression tests
This commit is contained in:
parent
f9552ede2b
commit
c06daba398
@ -391,6 +391,9 @@ int main(int argc, char **argv) {
|
||||
#ifdef WITH_GEOIP
|
||||
resources.push_back("geoip");
|
||||
#endif
|
||||
#ifdef WITH_CURL
|
||||
resources.push_back("curl");
|
||||
#endif
|
||||
|
||||
#ifdef NO_LOGS
|
||||
std::cout << "Test utility cannot work without logging support." \
|
||||
|
@ -2,6 +2,7 @@
|
||||
{
|
||||
"enabled":1,
|
||||
"version_min":300000,
|
||||
"resource": "curl",
|
||||
"title":"Include remote rules",
|
||||
"client":{
|
||||
"ip":"200.249.12.31",
|
||||
@ -41,6 +42,7 @@
|
||||
},
|
||||
{
|
||||
"enabled":1,
|
||||
"resource": "curl",
|
||||
"version_min":300000,
|
||||
"title":"Include remote rules - failed download (Abort)",
|
||||
"expected":{
|
||||
@ -54,6 +56,7 @@
|
||||
},
|
||||
{
|
||||
"enabled":1,
|
||||
"resource": "curl",
|
||||
"version_min":300000,
|
||||
"title":"Include remote rules - failed download (Warn)",
|
||||
"client":{
|
||||
|
@ -90,6 +90,7 @@
|
||||
{
|
||||
"enabled":1,
|
||||
"version_min":300000,
|
||||
"resource": "curl",
|
||||
"title":"Testing Operator :: @ipMatchFromFile - https",
|
||||
"client":{
|
||||
"ip":"8.8.4.4",
|
||||
|
Loading…
x
Reference in New Issue
Block a user