diff --git a/report/util.go b/report/util.go index df9f8007..7425665d 100644 --- a/report/util.go +++ b/report/util.go @@ -515,6 +515,10 @@ func getDiffCves(previous, current models.ScanResult) models.VulnInfos { } } + if len(updated) == 0 { + util.Log.Infof("%s: There are %d vulnerabilities, but no difference between current result and previous one.", current.FormatServerName(), len(current.ScannedCves)) + } + for cveID, vuln := range new { updated[cveID] = vuln }