Added plugin for handling flow risks reported by nDPI

This commit is contained in:
Luca Deri 2020-05-12 12:18:50 +02:00
parent 607ba52263
commit e315158c1d
9 changed files with 175 additions and 2 deletions

View file

@ -0,0 +1,28 @@
--
-- (C) 2019-20 - ntop.org
--
local alert_keys = require "alert_keys"
-- #######################################################
local function createBATAlert(alert_severity)
local built = {
alert_severity = alert_severity,
alert_type_params = {
}
}
return built
end
-- #######################################################
return {
-- scripts/lua/modules/alert_keys.lua
alert_key = alert_keys.ntopng.alert_binary_application_transfer,
-- scripts/locales/en.lua
i18n_title = "alerts_dashboard.binary_application_transfer",
icon = "fab fa-exclamation",
creator = createBATAlert,
}