mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fixed lateral movement alert description (#5524)
This commit is contained in:
parent
5a02d2a0d7
commit
8a1e315496
2 changed files with 5 additions and 2 deletions
|
|
@ -42,6 +42,7 @@ end
|
|||
function alert_lateral_movement.format(ifid, alert, alert_type_params)
|
||||
-- Extracting info field
|
||||
local info = ""
|
||||
local href = ""
|
||||
|
||||
if alert.json then
|
||||
info = json.decode(alert["json"])
|
||||
|
|
@ -52,7 +53,9 @@ function alert_lateral_movement.format(ifid, alert, alert_type_params)
|
|||
end
|
||||
end
|
||||
|
||||
return(i18n("alerts_dashboard.lateral_movement_descr", { info = info }))
|
||||
href = '<a href="/lua/pro/enterprise/service_map.lua"><i class="fas fa-lg fa-concierge-bell"></i></a>'
|
||||
|
||||
return(i18n("alerts_dashboard.lateral_movement_descr", { info = info, href = href }))
|
||||
end
|
||||
|
||||
-- #######################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue