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:
Matteo Biscosi 2020-11-12 13:52:53 +01:00 committed by GitHub
parent 283bd7179c
commit 0e341f3d0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
50 changed files with 146 additions and 209 deletions

View file

@ -10,9 +10,8 @@ local alert_keys = require "alert_keys"
-- @param alert_severity A severity as defined in `alert_consts.alert_severities`
-- @param http_info A lua table containing flow HTTP information obtained with `flow.getHTTPInfo()`
-- @return A table with the alert built
local function createBATAlert(alert_severity, http_info)
local function createBATAlert(http_info)
local built = {
alert_severity = alert_severity,
alert_type_params = http_info
}