blob: 03edfef095a0e426cbf29e30573172be10c61144 [file] [edit]
Copyright 2024 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.
Expected output of test TestTriage/all
command: "vulnreport triage "
-- out --
issue test-issue-tracker/7 is likely duplicate
- #7 shares alias(es) CVE-9999-0005 with data/reports/GO-9999-0005.yaml
posted comment to issue 7: Duplicate of #5
issue test-issue-tracker/10 is high priority
- golang.org/x/vuln has 101 importers (>= 100) and as many reviewed (0) as likely-binary reports (0)
issue test-issue-tracker/11 is possibly not Go
- more than 20 percent of reports (1 of 1) with this module are NOT_GO_CODE
issue test-issue-tracker/12 is likely duplicate
- #12 shares alias(es) CVE-1999-0002, GHSA-xxxx-yyyy-0002, GHSA-xxxx-yyyy-0003 with test-issue-tracker/13
- #12 shares alias(es) CVE-1999-0002, GHSA-xxxx-yyyy-0002, GHSA-xxxx-yyyy-0003 with test-issue-tracker/14
- #12 shares alias(es) CVE-1999-0002, GHSA-xxxx-yyyy-0002, GHSA-xxxx-yyyy-0003 with test-issue-tracker/15
posted comment to issue 12: Duplicate of #13
posted comment to issue 12: Duplicate of #14
posted comment to issue 12: Duplicate of #15
issue test-issue-tracker/13 is likely duplicate
- #13 shares alias(es) CVE-1999-0002, GHSA-xxxx-yyyy-0002, GHSA-xxxx-yyyy-0003 with test-issue-tracker/14
- #13 shares alias(es) CVE-1999-0002, GHSA-xxxx-yyyy-0002, GHSA-xxxx-yyyy-0003 with test-issue-tracker/15
posted comment to issue 13: Duplicate of #14
posted comment to issue 13: Duplicate of #15
issue test-issue-tracker/14 is likely duplicate
- #14 shares alias(es) CVE-1999-0002, GHSA-xxxx-yyyy-0002, GHSA-xxxx-yyyy-0003 with test-issue-tracker/15
posted comment to issue 14: Duplicate of #15
triaged 8 issues:
- 1 high priority
- 7 low priority
- 0 unknown priority
- 4 likely duplicate
- 1 possibly not Go
helpful commands:
$ vulnreport create 10
-- logs --
info: creating alias map for open issues
info: triage: operating on 9 issue(s)
info: triage: skipping issue #1 (already has report)
info: triage 7
info: issue test-issue-tracker/7 is low priority
- golang.org/x/tools has 50 importers (< 100)
info: triage 10
info: triage 11
info: issue test-issue-tracker/11 is low priority
- collectd.org has 0 importers (< 100)
info: triage 12
info: issue test-issue-tracker/12 is low priority
- golang.org/x/tools has 50 importers (< 100)
info: triage 13
info: issue test-issue-tracker/13 is low priority
- golang.org/x/tools has 50 importers (< 100)
info: triage 14
info: issue test-issue-tracker/14 is low priority
- golang.org/x/tools has 50 importers (< 100)
info: triage 15
info: issue test-issue-tracker/15 is low priority
- golang.org/x/tools has 50 importers (< 100)
info: triage 100
info: issue #100: skipping duplicate search (no aliases found)
info: issue test-issue-tracker/100 is low priority
- golang.org/x/tools has 50 importers (< 100)
info: triage: processed 9 issue(s) (success=8; skip=1; error=0)