commit | cb65fb4068c7fb5551c3b6912c63938630895625 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Tue Mar 01 09:29:12 2022 -0500 |
committer | Jonathan Amsterdam <jba@google.com> | Tue Mar 01 21:32:01 2022 +0000 |
tree | f375cf349203a6d8b7fc023e7e9bcbbf7544e49d | |
parent | 074a259630c2e9e38e88a7642cf8fd1b3f98d188 [diff] |
internal/ghsa: support getting a nicer ID The GitHub Security Advisory API uses some sort of internal uid for the SecurityAdvisory.ID field. The nicer, human-readable ID is in the Identifiers field, with type GHSA. Add code to extract that nicer ID, falling back to the internal one. Change-Id: I6a4bc55bde3b84ce7db2a4e3bc68ad19b1ef3bd6 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/388675 Trust: Jonathan Amsterdam <jba@google.com> Run-TryBot: Jonathan Amsterdam <jba@google.com> Reviewed-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Damien Neil <dneil@google.com>
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.
We are not accepting new vulnerability reports at this time. We will update this README.md once we are ready to receive reports.
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.