-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
devtools: add script to run common vulnreport commands
Change-Id: If93d2fe085702e58dff9cabf0a0f4748645108f9 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/629357 Reviewed-by: Zvonimir Pavlinovic <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Damien Neil <[email protected]>
- Loading branch information
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# Copyright 2021 The Go Authors. All rights reserved. | ||
# Use of this source code is governed by a BSD-style | ||
# license that can be found in the LICENSE file. | ||
|
||
# Script to run the common vulnreport commands in succession. | ||
|
||
set -e | ||
|
||
source devtools/lib.sh || { echo "Are you at repo root?"; exit 1; } | ||
|
||
go install ./cmd/vulnreport | ||
vulnreport triage | ||
vulnreport create | ||
vulnreport -batch=20 -status=UNREVIEWED commit | ||
vulnreport -batch=20 -status=NEEDS_REVIEW commit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters