diff --git a/plugins/op_waf/conf/init.sql b/plugins/op_waf/conf/init.sql index cbd63c62f..2f1d8bded 100644 --- a/plugins/op_waf/conf/init.sql +++ b/plugins/op_waf/conf/init.sql @@ -10,6 +10,7 @@ CREATE TABLE IF NOT EXISTS `logs` ( `server_name` TEXT, `method` TEXT, `status_code` INTEGER, + `user_agent` TEXT, `uri` TEXT, `rule_name` TEXT, `reason` TEXT diff --git a/plugins/op_waf/index.html b/plugins/op_waf/index.html index fd718fbc9..a4de78d0e 100755 --- a/plugins/op_waf/index.html +++ b/plugins/op_waf/index.html @@ -1,4 +1,18 @@