commit | 0cb7a210b0c522c6cbf57750b44e8579482962c1 | [log] [tgz] |
---|---|---|
author | Zvonimir Pavlinovic <zpavlinovic@google.com> | Thu Mar 25 10:40:06 2021 -0700 |
committer | Filippo Valsorda <valsorda@google.com> | Tue Apr 13 16:18:34 2021 +0200 |
tree | c767438d3b67bb173ab426fe791527847aced2fe | |
parent | 3455efa7786fef5cf1009639819c6bbb11d48043 [diff] |
client: adds unit tests and addresses minor issues. Change-Id: I9151991794618c11cca9dffb3b79ebbb42989d16 Reviewed-on: https://team-review.git.corp.google.com/c/golang/vulndb/+/1036403 Reviewed-by: Roland Shoemaker <bracewell@google.com>
This repository contains a handful of prototypes for the Go vulnerability database, as well as a initial set of vulnerability reports. Some of these packages can probably be coalesced, but for now are easier to work on in a more segmented fashion.
reports
contains TOML security reports, the format is described in format.md
report
provides a package for parsing and linting TOML reportsosv
provides a package for generating OSV-style JSON vulnerability entries from a report.Report
client
contains a client for accesing HTTP/fs based vulnerability databases, as well as a minimal caching implementationcmd/gendb
provides a tool for converting TOML reports into JSON databasecmd/genhtml
provides a tool for converting TOML reports into a HTML websitecmd/linter
provides a tool for linting individual reportscmd/report2cve
provides a tool for converting TOML reports into JSON CVEs