Add more VS and email debug

This commit is contained in:
Alfredo Cardigliano 2023-11-07 11:19:59 +01:00
parent d13e92ecf2
commit f3eb3303fa
3 changed files with 34 additions and 13 deletions

View file

@ -1141,7 +1141,7 @@ function vs_utils.notify_scan_results(is_periodic, periodicity)
traceError(TRACE_NORMAL,TRACE_CONSOLE, "Vulnerability Scan completed. Sending " .. title .."\n")
end
recipients.sendMessageByNotificationType({periodicity = periodicity, success=true, message = notification_message, title = title}, "vulnerability_scans")
recipients.sendMessageByNotificationType({periodicity = periodicity, success = true, message = notification_message, title = title}, "vulnerability_scans")
ntop.setCache(info_redis_key,json.encode({
cves = 0,