Change CveContents data type to map
This commit is contained in:
@@ -295,7 +295,7 @@ func scanVulnByCpeNames(cpeNames []string, scannedVulns []models.VulnInfo) ([]mo
|
||||
CpeNames: []string{name},
|
||||
Confidence: models.CpeNameMatch,
|
||||
}
|
||||
v.NilSliceToEmpty()
|
||||
v.NilToEmpty()
|
||||
set[detail.CveID] = v
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user