Unifies misbehaving with alerted flows

Implements #4596
This commit is contained in:
Simone Mainardi 2020-10-16 18:58:20 +02:00
parent d9bba4b4b2
commit d3dda0bb82
38 changed files with 217 additions and 145 deletions

View file

@ -6,7 +6,7 @@
-- @brief Prepare an alert table used to generate the alert
-- @param alert_severity A severity as defined in `alert_consts.alert_severities`
-- @param info A flow info table fetched with `flow.getBlacklistedInfo()`
-- @param info A flow info table fetched with `flow.getInfo()`
-- @return A table with the alert built
local function createFlowRisk(alert_severity, info)
local built = {