mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Changed VS alert message
This commit is contained in:
parent
90d7008cb3
commit
dc291cf89e
3 changed files with 8 additions and 3 deletions
|
|
@ -69,7 +69,12 @@ function alert_vulnerability_scan.format(ifid, alert, alert_type_params)
|
|||
msg = msg .. i18n('vulnerability_scan_alert_solved_issues', { num_issues = alert_type_params.num_cve_solved, cve_solved = cve_solved }) .. " "
|
||||
end
|
||||
|
||||
return i18n('vulnerability_scan_alert', { host = alert_type_params.host, msg = msg })
|
||||
local host = alert_type_params.host_name
|
||||
if isEmptyString(host) then
|
||||
host = alert_type_params.host
|
||||
end
|
||||
|
||||
return i18n('vulnerability_scan_alert', { host = host, msg = msg })
|
||||
end
|
||||
|
||||
-- #######################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue