Fixes l4 proto not mapped

This commit is contained in:
MatteoBiscosi 2023-01-25 17:34:39 +01:00
parent a816968698
commit 9c039d67d9
2 changed files with 6 additions and 0 deletions

View file

@ -314,6 +314,11 @@ for _key, value in ipairs(flows_stats) do -- pairsByValues(vals, funct) do
column_proto_l4 = alert_consts.alertTypeIcon(value["predominant_alert"], map_score_to_severity(value["predominant_alert_score"]))
end
value["proto.l4"] = 132
if tonumber(value["proto.l4"]) then
value["proto.l4"] = l4_proto_to_string(value["proto.l4"])
end
column_proto_l4 = value["proto.l4"].." "..column_proto_l4
if(value["verdict.pass"] == false) then