mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-13 21:36:00 +03:00
WEBSERVER_ERROR_LOG is not supported by libmodsecurity. This test case confirms the parser error that says so.
15 lines
431 B
JSON
15 lines
431 B
JSON
[
|
|
{
|
|
"enabled":1,
|
|
"version_min":300000,
|
|
"version_max":0,
|
|
"title":"Testing Variables :: WEBSERVER_ERROR_LOG (1/1)",
|
|
"expected":{
|
|
"parser_error":"Line: 1. Column: 27. Variable VARIABLE_WEBSERVER_ERROR_LOG is not supported by libModSecurity"
|
|
},
|
|
"rules":[
|
|
"secrule WEBSERVER_ERROR_LOG \"@contains test\" \"id:1,t:lowercase,t:none,msg:'This is a test, %{REQUEST_HEADERS:Accept}%'\""
|
|
]
|
|
}
|
|
]
|