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
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
// Skip if the status is not determined.
|
// Skip if the status is not determined or the vulnerability is a temporary one.
|
||||||
if releaseNode.Status == "undetermined" {
|
if !strings.HasPrefix(vulnName, "CVE-") || releaseNode.Status == "undetermined" {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user