Open
Description
ngx_waf版本:current
nginx -V:--with-http_ssl_module --with-http_stub_status_module --with-http_gzip_static_module --with-http_realip_module --with-stream --with-pcre --add-dynamic-module=/usr/local/src/ngx_waf --with-compat --with-cc-opt=-std=gnu99
现象:
配置white-url后,如果请求匹配到了white-url,无论是否有攻击行为,对应的请求都会被ngx_waf记录,相应日志会记录到nginx_error.log,且日志级别为alert。
希望:
1、对于已经加了白名单的请求, ngx_waf不应当记录日志。
2、ngx_waf 日志级别可调。
3、应当有可选配置, ngx_waf是否计入error_log中。