feat(saas): support for library-only scanning (#1300)

This commit is contained in:
Kota Kanbe
2021-09-10 15:38:35 +09:00
committed by GitHub
parent 9ed5f2cac5
commit 4a72295de7
9 changed files with 3678 additions and 3316 deletions

View File

@@ -229,6 +229,7 @@ func (v CveContents) UniqCweIDs(myFamily string) (values []CveContentStr) {
return values
}
// Sort elements for integration-testing
func (v CveContents) Sort() {
for contType, contents := range v {
// CVSS3 desc, CVSS2 desc, SourceLink asc