aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulie Qiu <julie@golang.org>2022-08-18 16:46:35 -0400
committerJulie Qiu <julieqiu@google.com>2022-08-19 13:53:15 +0000
commit0a456fc0bac30bf5fc705d43c57451c2cc366e7f (patch)
treeb41882667cded1fd6da049e16bd0c2e6fb539b79
parent4a20090bc9438568f0ab8f93bb93a1c34707b293 (diff)
downloadgo-x-website-0a456fc0bac30bf5fc705d43c57451c2cc366e7f.tar.xz
_content/security/vulndb: add goos/goarch to API docs
Change-Id: Ib0eef10f72f2e4befc367d6045d3cc844ddda9ab Reviewed-on: https://go-review.googlesource.com/c/website/+/424875 Auto-Submit: Julie Qiu <julieqiu@google.com> Reviewed-by: Damien Neil <dneil@google.com> Reviewed-by: Julie Qiu <julieqiu@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Julie Qiu <julieqiu@google.com>
-rw-r--r--_content/security/vulndb/api.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/_content/security/vulndb/api.md b/_content/security/vulndb/api.md
index 3144b9ee..6f39ceea 100644
--- a/_content/security/vulndb/api.md
+++ b/_content/security/vulndb/api.md
@@ -98,6 +98,8 @@ array will have these two fields:
- **path:** a string with the import path of the package containing the vulnerability
- **symbols:** a string array with the names of the symbols (function or method) that contains the vulnerability
+- **goos**: a string array with the execution operating system where the symbols appear, if known
+- **goarch**: a string array with the architecture where the symbols appear, if known
For information on other fields in the schema, refer to the [OSV spec](https://ossf.github.io/osv-schema).