diff --git a/plugins/op_waf/index.py b/plugins/op_waf/index.py index 6193b73d3..ce8c78b63 100755 --- a/plugins/op_waf/index.py +++ b/plugins/op_waf/index.py @@ -1103,6 +1103,8 @@ def getLogsList(): domain = args['site'] tojs = args['tojs'] + setDefaultSite(domain) + conn = pSqliteDb('logs') field = 'time,ip,domain,server_name,method,uri,user_agent,rule_name,reason'