mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
parent
c7e7ee70f2
commit
34f7a42308
33 changed files with 1885 additions and 466 deletions
|
|
@ -126,6 +126,9 @@ function alert_vulnerability_scan.format(ifid, alert, alert_type_params, local_e
|
|||
local scan_type_label = i18n(string.format("hosts_stats.page_scan_hosts.scan_type_list.%s",scan_type))
|
||||
|
||||
local url = string.format("%s/lua/vulnerability_scan.lua?host=%s&scan_type=%s&scan_return_result=true&page=show_result&scan_date=%s",getHttpHost() .. ntop.getHttpPrefix(),alert_type_params.host,scan_type,alert_type_params.date)
|
||||
if (alert_type_params.epoch) then
|
||||
url = string.format("%s&epoch=%u",url,alert_type_params.epoch)
|
||||
end
|
||||
|
||||
local alert_descr = i18n('vulnerability_scan.host_alert', { host = host, msg = msg, url = url, scan_type = scan_type_label })
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue