blob: ed9346bc2dd6d4aaae43cc8cdf29a99116f1c4da [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/missing_fields_excluded
Description: Excluded reports must contain (at least): a valid excluded reason, a module, and one CVE or GHSA.
-- data/excluded/GO-0000-0000.yaml --
id: GO-0000-0000
excluded: not a real reason
-- golden --
excluded reason ("not a real reason") is not a valid excluded reason (accepted: [NOT_IMPORTABLE NOT_GO_CODE NOT_A_VULNERABILITY EFFECTIVELY_PRIVATE DEPENDENT_VULNERABILITY LEGACY_FALSE_POSITIVE])
no modules
excluded report must have at least one associated CVE or GHSA