updater: ignore Debian's "temp" vulnerabilities
This commit is contained in:
parent
77387af2ac
commit
7e72eb10b6
@ -143,8 +143,8 @@ func parseDebianJSON(data *jsonData) (vulnerabilities []database.Vulnerability,
|
||||
continue
|
||||
}
|
||||
|
||||
// Skip if the status is not determined.
|
||||
if releaseNode.Status == "undetermined" {
|
||||
// Skip if the status is not determined or the vulnerability is a temporary one.
|
||||
if !strings.HasPrefix(vulnName, "CVE-") || releaseNode.Status == "undetermined" {
|
||||
continue
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user