diff --git a/oval/debian.go b/oval/debian.go index a73b2c63..af5b4e74 100644 --- a/oval/debian.go +++ b/oval/debian.go @@ -38,7 +38,13 @@ func (o DebianBase) update(r *models.ScanResult, defPacks defPacks) { defPacks.def.Debian.CveID) cveContents = models.CveContents{} } - vinfo.Confidences.AppendIfMissing(models.OvalMatch) + if r.Family != config.Raspbian { + vinfo.Confidences.AppendIfMissing(models.OvalMatch) + } else { + if len(vinfo.Confidences) == 0 { + vinfo.Confidences.AppendIfMissing(models.OvalMatch) + } + } cveContents[ctype] = ovalContent vinfo.CveContents = cveContents }