mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Modified flow scripts in view of the new trigger_status (#4710)
* Modified blacklisted script in view of the new flow_script API * Modified plugins scripting in view of the new API * Modified flow scripts with the new trigger API * Fixed creators severity Co-authored-by: matteo <biscosi@ntop.org>
This commit is contained in:
parent
283bd7179c
commit
0e341f3d0b
50 changed files with 146 additions and 209 deletions
|
|
@ -7,9 +7,8 @@ local alert_keys = require "alert_keys"
|
|||
-- @brief Prepare an alert table used to generate the alert
|
||||
-- @param alert_severity A severity as defined in `alert_consts.alert_severities`
|
||||
-- @return A table with the alert built
|
||||
local function createUDPUnidirectional(alert_severity)
|
||||
local function createUDPUnidirectional()
|
||||
local built = {
|
||||
alert_severity = alert_severity,
|
||||
alert_type_params = {},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue