Reports all alerts inside a flow alert (not jsut the predominant)

Implements #5316
This commit is contained in:
Simone Mainardi 2021-05-13 15:51:05 +02:00
parent 4d5cd3b3af
commit bc6008be28
11 changed files with 67 additions and 8 deletions

View file

@ -32,7 +32,7 @@ end
interface.select(ifid)
-- Fetch the results
local alerts, recordsFilter = flow_alert_store:select_request()
local alerts, recordsFilter = flow_alert_store:select_request(nil, "*, hex(alerts_map) alerts_map")
for _key,_value in ipairs(alerts or {}) do
local record = flow_alert_store:format_record(_value, no_html)