Implemented skeleton of CustomFlowLuaScriptAlert check

This commit is contained in:
Luca Deri 2022-11-19 20:31:24 +01:00
parent 5f7bc4c542
commit 80db634bfe
15 changed files with 268 additions and 27 deletions

View file

@ -0,0 +1,27 @@
--
-- (C) 2019-22 - ntop.org
--
local checks = require("checks")
local flow_consts = require("flow_consts")
local alerts_api = require "alerts_api"
local alert_consts = require("alert_consts")
local flow_alert_keys = require "flow_alert_keys"
-- #################################################################
local script = {
-- Script category
category = checks.check_categories.security,
alert_id = flow_alert_keys.flow_alert_custom_lua_script,
gui = {
i18n_title = "flow_checks_config.custom_lua_script",
i18n_description = "flow_checks_config.custom_lua_script_description",
}
}
-- #################################################################
return script