Reworks version of alert exclusions

This commit is contained in:
Simone Mainardi 2021-07-12 17:37:51 +02:00
parent ddc0a7f47a
commit 833fc3670b
25 changed files with 27 additions and 518 deletions

View file

@ -1,10 +0,0 @@
--
-- (C) 2019-21 - ntop.org
--
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
local alert_rest_utils = require "alert_rest_utils"
alert_rest_utils.delete_all_alert_exclusions(_POST["check_subdir"], _POST["host"])