blob: 57d4182bb5e3e9ae895aaf76d781f2566c9219e2 [file] [log] [blame]
Copyright 2023 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.
Test: TestLintOffline/references_multiple_advisories
Description: Each report should contain at most one advisory reference.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
- module: golang.org/x/net
vulnerable_at: 1.2.3
packages:
- package: golang.org/x/net/http2
summary: A summary
description: description
cves:
- CVE-1234-0000
references:
- advisory: http://go.dev/a
- advisory: http://go.dev/b
-- golden --
references: too many advisories (found 2, want <=1)