Add VLAN bidirectional traffic alert (#7126) (#7194)

* Add VLAN bidirectional traffic alert (#7126)

* Add alert description. (#7126)
This commit is contained in:
Nicolò Maio 2023-02-03 10:33:25 +01:00 committed by GitHub
parent 7b4f807f8f
commit 7162045cdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 379 additions and 5 deletions

View file

@ -0,0 +1,36 @@
--
-- (C) 2019-23 - ntop.org
--
local checks = require("checks")
local alert_consts = require "alert_consts"
local alerts_api = require "alerts_api"
local flow_alert_keys = require "flow_alert_keys"
-- #################################################################
-- NOTE: this module is always enabled
local script = {
-- Script category
category = checks.check_categories.security,
-- This script is only for alerts generation
alert_id = flow_alert_keys.flow_alert_vlan_bidirectional_traffic,
default_value = {
},
gui = {
i18n_title = "flow_checks_config.vlan_bidirectional_traffic",
i18n_description = "flow_checks_config.vlan_bidirectional_traffic_description",
input_builder = "items_list",
item_list_type = "vlan",
input_title = "flow_checks.vlan_inclusion_list",
input_description = "flow_checks.vlan_inclusion_list_description",
}
}
return script