Removed port from lateral movement alert description

This commit is contained in:
Matteo Biscosi 2021-02-03 18:09:17 +01:00
parent 6e215385c2
commit a0de61248c

View file

@ -52,10 +52,9 @@ function alert_lateral_movement.format(ifid, alert, alert_type_params)
local rsp = hostinfo2detailshref(client, nil, hostinfo2label(client))..
" <i class=\"fas fa-exchange-alt fa-lg\" aria-hidden=\"true\" data-original-title=\"\" title=\"\"></i> " ..
hostinfo2detailshref(server, nil, hostinfo2label(server))..
" ["..i18n("port")..": "..msg.dport.."]"
hostinfo2detailshref(server, nil, hostinfo2label(server))
rsp = rsp .. "["..i18n("application")..": "..interface.getnDPIProtoName(msg.l7).."]"
rsp = rsp .. " ["..i18n("application")..": "..interface.getnDPIProtoName(msg.l7).."]"
if not isEmptyString(msg.info) then
rsp = rsp .. "[" .. msg.info .. "]"
end