Fixes flow alerts table column width and description

This commit is contained in:
Matteo Biscosi 2021-02-26 16:10:34 +01:00
parent 4f0ac39efe
commit 39d3618351
8 changed files with 17 additions and 12 deletions

View file

@ -23,6 +23,10 @@ local handler = {}
function handler.handle_risk(risk_id, flow_score, cli_score, srv_score)
-- Set a flow status for the generic flow_risk. This will also
-- cause an alert to be generated.
if risk_id == 0 then
return
end
local alert = alert_consts.alert_types.alert_flow_risk.new(
risk_id
)