Updated scan alert to display network address instead of network ID (#9043)

This commit is contained in:
Manuel Ceroni 2025-03-17 15:39:59 +01:00 committed by GitHub
parent a1e077c6ac
commit f5ea2e1062
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -247,7 +247,7 @@ local function scan_check(params)
local attacker_key = row.ip_src .. "_" .. vlan_id
-- Report a network scan only if the host has not performed a service scan
if service_attackers[attacker_key] == nil then
local victim_network = row.dst_network
local victim_network = getLocalNetworkAliasById(row.dst_network)
local num_victim = row.count_ip_dst
report_alert(params, attacker_ip, vlan_id, victim_network, num_victim, false, "Network")
end