[VS] Fix the hostname saving.

This commit is contained in:
Nicolo Maio 2023-11-06 17:36:38 +01:00
parent 5ad7b64874
commit 86b2619929

View file

@ -897,7 +897,8 @@ function vs_utils.save_host_to_scan(scan_type, host, scan_result, last_scan_time
num_vulnerabilities_found = num_vulnerabilities_found,
cve = cve_formatted,
max_score_cve = max_score_cve,
is_ok_last_scan = is_ok_last_scan
is_ok_last_scan = is_ok_last_scan,
host_name = host_name
}
if tcp_ports ~= nil then