mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Added plugin for handling flow risks reported by nDPI
This commit is contained in:
parent
607ba52263
commit
e315158c1d
9 changed files with 175 additions and 2 deletions
|
|
@ -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,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue