Refactors alerts and flow statuses in builtin and plugins

Implements #3811
Implements #3812

Refactors builtin alerts

Refactors builtin flow statuses
This commit is contained in:
Simone Mainardi 2020-04-21 21:41:52 +02:00
parent 1c76667b21
commit 78b334e4eb
89 changed files with 680 additions and 39 deletions

View file

@ -0,0 +1,16 @@
--
-- (C) 2019-20 - ntop.org
--
local status_keys = require "flow_keys"
local alert_consts = require("alert_consts")
-- #################################################################
return {
status_key = status_keys.ntopng.status_not_purged,
alert_severity = alert_consts.alert_severities.error,
alert_type = alert_consts.alert_types.alert_internals,
i18n_title = "flow_details.not_purged"
}