feat(lib): support of Go (go.sum) scan (#1244)

* chore: update trivy deps

* fix(test): fix sort order in json

* parse go.sum in scanning

* feat(lib): support go.sum
This commit is contained in:
Kota Kanbe
2021-06-03 11:31:37 +09:00
committed by GitHub
parent 7eb77f5b51
commit e8e3f4d138
8 changed files with 67 additions and 26 deletions

View File

@@ -129,6 +129,7 @@ var LibraryMap = map[string]string{
"composer.lock": "php",
"Pipfile.lock": "python",
"poetry.lock": "python",
"go.sum": "gomod",
}
// GetLibraryKey returns target library key