-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/worker: add modules mode to govulncheck pipeline
This is accomplished by using the newest version of govulncheck. The tool now produces streaming JSON where it emits findings at every level of precision (module, package, symbol) as it does work. We thus collect all findings produced by govulncheck and convert them to Vuln structure right before we save it rows. This simplifies matters. The ecosystem metrics handler for govulncheck JSON is now trivial. The code operates on govulncheck.Findings and lets vulnsForMode do the conversion to Vuln in a single (last) step. Vuln also does not need Called field. Change-Id: I73651a91b2707d9afd1e667ea4cedb371e763c73 Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/562695 Reviewed-by: Maceo Thompson <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Run-TryBot: Zvonimir Pavlinovic <[email protected]>
- Loading branch information
1 parent
48fbea7
commit ffcab83
Showing
9 changed files
with
190 additions
and
223 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.