Fixes Flow risks not defined (#6939)

This commit is contained in:
MatteoBiscosi 2022-10-21 13:37:08 +02:00
parent 45eeaca927
commit 7bfc2fdde4
17 changed files with 324 additions and 62 deletions

View file

@ -0,0 +1,29 @@
--
-- (C) 2019-22 - ntop.org
--
local checks = require("checks")
local flow_alert_keys = require "flow_alert_keys"
-- #################################################################
local script = {
-- Script category
category = checks.check_categories.network,
-- This script is only for alerts generation
alert_id = flow_alert_keys.flow_alert_ndpi_risky_asn,
default_value = {
},
gui = {
i18n_title = "flow_checks_config.risky_asn",
i18n_description = "flow_checks_config.risky_asn_description",
}
}
-- #################################################################
return script

View file

@ -0,0 +1,29 @@
--
-- (C) 2019-22 - ntop.org
--
local checks = require("checks")
local flow_alert_keys = require "flow_alert_keys"
-- #################################################################
local script = {
-- Script category
category = checks.check_categories.network,
-- This script is only for alerts generation
alert_id = flow_alert_keys.flow_alert_ndpi_risky_domain,
default_value = {
},
gui = {
i18n_title = "flow_checks_config.risky_domain",
i18n_description = "flow_checks_config.risky_domain_description",
}
}
-- #################################################################
return script