[VS] Disable alert triggers for port changes when conducting a CVE scan

This commit is contained in:
Nicolo Maio 2023-11-13 16:14:08 +01:00
parent d6d3e0a829
commit 672539ac9f
3 changed files with 9 additions and 3 deletions

View file

@ -318,13 +318,14 @@ local function check_differences(host, host_name, scan_type, old_data, new_data)
return nil
end
--[[
if tonumber(old_data.ports or 0) ~= tonumber(new_data.ports or 0) then
rsp["num_ports"] = {
old_num_ports = old_data.ports or 0,
new_num_ports = new_data.ports or 0
}
end
--]]
local num_cve_solved = 0
local num_new_cve_issues = 0
local cve_solved = {}