Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配置white-url后,无论是否有攻击行为,对应的请求都会被ngx_waf记录 #113

Open
gongwenbin opened this issue Oct 31, 2022 · 1 comment
Labels
stale No activity over 7 days

Comments

@gongwenbin
Copy link

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中。

@stale
Copy link

stale bot commented Nov 7, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
此 issue 因为最近没有任何活动已经被标记,如果在此之后的一段时间内仍没有任何活动则会被关闭。感谢您对项目的支持。

@stale stale bot added the stale No activity over 7 days label Nov 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale No activity over 7 days
Projects
None yet
Development

No branches or pull requests

1 participant