mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Removed lua_utils require from lateral movement alert
This commit is contained in:
parent
993168c691
commit
4f1a518f7b
2 changed files with 41 additions and 41 deletions
|
|
@ -4470,46 +4470,6 @@ function getFullObsPointName(observation_point_id, compact, add_id)
|
|||
return observation_point_id
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
function getMapUrl(flow, ifid, map, page)
|
||||
local href = '/lua/pro/enterprise/' .. map .. '.lua?'
|
||||
|
||||
if flow["host"] then
|
||||
href = href .. 'host=' .. flow["host"] .. "&"
|
||||
end
|
||||
|
||||
if flow["l7proto"] then
|
||||
href = href .. 'l7proto=' .. flow["l7proto"] .. "&"
|
||||
end
|
||||
|
||||
if flow["host_pool_id"] then
|
||||
href = href .. 'host_pool_id=' .. flow["host_pool_id"] .. "&"
|
||||
end
|
||||
|
||||
if flow["vlan"] then
|
||||
href = href .. 'vlan=' .. flow["vlan"] .. "&"
|
||||
end
|
||||
|
||||
if flow["unicast_only"] then
|
||||
href = href .. 'unicast_only=' .. flow["unicast_only"] .. "&"
|
||||
end
|
||||
|
||||
if flow["first_seen"] then
|
||||
href = href .. 'first_seen=' .. flow["first_seen"] .. "&"
|
||||
end
|
||||
|
||||
if page then
|
||||
href = href .. 'page='.. page .. '&'
|
||||
end
|
||||
|
||||
if ifid then
|
||||
href = href .. 'ifid=' .. ifid
|
||||
end
|
||||
|
||||
return href
|
||||
end
|
||||
|
||||
-- #####################
|
||||
|
||||
local iec104_typeids = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue