internal/ghsa: remove Vulnerability.Severity from query

The GitHub API fails on the Severity field of a particular Security Advisory.
See https://support.github.com/ticket/personal/0/1599280 for details.
Until that is fixed, comment out the Severity field from the query.
That field is a string, so the result will be that some GHSAs in our DB
will have the empty string for their severity. We can always backfill
those later if necessary.

Updates golang/go#52550.

Change-Id: I7df0f8e5cd35a1962cc6ca43c8d9efe1348cc003
Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/402134
Run-TryBot: Jonathan Amsterdam <jba@google.com>
Reviewed-by: Damien Neil <dneil@google.com>
1 file changed
tree: b74471748037020acaf1b39e201acb96aedda028
  1. .github/
  2. cmd/
  3. deploy/
  4. devtools/
  5. doc/
  6. internal/
  7. reports/
  8. terraform/
  9. .gitignore
  10. all_test.go
  11. AUTHORS
  12. checks.bash
  13. CONTRIBUTING.md
  14. CONTRIBUTORS
  15. go.mod
  16. go.sum
  17. LICENSE
  18. PATENTS
  19. README.md
  20. tools_test.go
README.md

The Go Vulnerability Database

This repository contains the reports for the Go Vulnerability Database.

If you are interested accessing data from the Go Vulnerability Database, see x/vuln for information. This repository is only used for adding new vulnerabilities.

Reporting a vulnerability

We are not accepting new vulnerability reports at this time. We will update this README.md once we are ready to receive reports.

License

Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.

Database entries are distributed under the terms of the CC-BY 4.0 license. See x/vuln for information on how to access these entries.