vulndb/internal
Damien Neil 703236d8e9 all: update for OSV schema changes
The OSV affected.package.name field is now the module path, not the
package import path. The affected.package.ecosystem_speficic.imports
field now contains a list of Go packages and symbols within those
packages.

Restructure the report YAML to match the OSV structure:
A report contains a list of modules, a module contains a list of
packages, a package contains a list of symbols.

Move GOOS/GOARCH to the package, rather than being report-global.

This change updates the canonical YAML format and changes the
OSV generation to the new form, but does not reformat data/reports.
The report loader rewrites the old report YAML into the new
style. Followup CLs will convert the reports and remove the
rewriter.

Change-Id: I71af994846721fdd43a8ee5c41574387ff781332
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/424895
Reviewed-by: Julie Qiu <julieqiu@google.com>
Run-TryBot: Damien Neil <dneil@google.com>
2022-08-19 16:42:49 +00:00
..
cveclient x/vulndb: add cve publish and record commands 2022-08-01 19:36:02 +00:00
cvelistrepo internal/cvelistrepo: package for the cvelist repo 2022-01-05 23:58:01 +00:00
cveschema all: gofmt 2022-04-11 22:09:10 +00:00
cveschema5 x/vulndb: add cve publish and record commands 2022-08-01 19:36:02 +00:00
database all: update for OSV schema changes 2022-08-19 16:42:49 +00:00
derrors cmd,internal: add tools and worker code 2021-12-20 22:08:22 +00:00
ghsa internal/ghsa: add GHSA method to SecurityAdvisory 2022-08-19 15:20:31 +00:00
gitrepo internal/report, etc.: speed up setting published date 2022-03-14 18:19:43 +00:00
issues cmd/vulnreport: support "create" for excluded issues 2022-08-15 21:04:16 +00:00
report all: update for OSV schema changes 2022-08-19 16:42:49 +00:00
stdlib internal/stdlib: Contains checks for valid path 2022-02-02 16:25:34 +00:00
worker all: update for OSV schema changes 2022-08-19 16:42:49 +00:00
internal.go x/vulndb: replace internal.Cut with strings.Cut 2022-05-02 17:45:32 +00:00