aboutsummaryrefslogtreecommitdiff
path: root/devtools
diff options
context:
space:
mode:
authorTatiana Bradley <tatianabradley@google.com>2024-04-23 18:52:50 +0000
committerTatiana Bradley <tatianabradley@google.com>2024-04-24 21:17:41 +0000
commit8a39a0cd120085df884cf9407ca92be5c8f0ceb7 (patch)
treeb179ed2d32ae1008915d1baf1bf7398b4670f9f5 /devtools
parent60fcee760bc8660923f53958b48b0d892aa76e18 (diff)
downloadgo-x-pkgsite-8a39a0cd120085df884cf9407ca92be5c8f0ceb7.tar.xz
tests/screentest: add a test for a vuln with no affected packages
Adds a test for a vulnerability report that only lists affected module(s), not affected packages. Package site currently does not display this correctly (it displays an empty section instead of listing the modules). An upcoming CL will fix. Change-Id: Ia9b73ab8ad3f2ec71061bd329ab7497eccb91ee2 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/581179 Reviewed-by: Damien Neil <dneil@google.com> Run-TryBot: Tatiana Bradley <tatianabradley@google.com> kokoro-CI: kokoro <noreply+kokoro@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'devtools')
-rwxr-xr-xdevtools/snapshot_vulndb_v1.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/devtools/snapshot_vulndb_v1.sh b/devtools/snapshot_vulndb_v1.sh
index 650aa380..371d936b 100755
--- a/devtools/snapshot_vulndb_v1.sh
+++ b/devtools/snapshot_vulndb_v1.sh
@@ -24,6 +24,7 @@ copyFiles=(
"ID/GO-2021-0264.json"
"ID/GO-2022-0273.json"
"ID/GO-2024-2730.json"
+ "ID/GO-2024-2659.json"
)
go install golang.org/x/vulndb/cmd/indexdb@latest