| 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 |
| posted comment to issue 12: Duplicate of #13 |
| posted comment to issue 12: Duplicate of #14 |
| 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 |
| posted comment to issue 13: Duplicate of #14 |
| triaged 6 issues: |
| - 1 high priority |
| - 5 low priority |
| - 0 unknown priority |
| - 3 likely duplicate |
| - 1 possibly not Go |
| helpful commands: |
| $ vulnreport create 10 |
| -- logs -- |
| info: creating alias map for open issues |
| info: triage: operating on 7 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: processed 7 issue(s) (success=6; skip=1; error=0) |