Added severity to ntopng checks table

This commit is contained in:
MatteoBiscosi 2022-10-20 10:34:23 +02:00
parent 933e8339ec
commit eda4cfb088
48 changed files with 406 additions and 340 deletions

View file

@ -3,6 +3,7 @@
--
local checks = require("checks")
local alert_consts = require("alert_consts")
local host_alert_keys = require "host_alert_keys"
-- #################################################################
@ -10,6 +11,7 @@ local host_alert_keys = require "host_alert_keys"
local flow_flood = {
-- Script category
category = checks.check_categories.security,
severity = alert_consts.get_printable_severities().error,
default_enabled = false,
alert_id = host_alert_keys.host_alert_flow_flood,