repo_id stringclasses 927
values | file_path stringlengths 99 214 | content stringlengths 2 4.15M |
|---|---|---|
yaml | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/yaml/GHSA-3cqf-953p-h5cp.yaml | id: GO-ID-PENDING
modules:
- module: github.com/argoproj/argo-cd
versions:
- introduced: 0.11.0
vulnerable_at: 1.8.6
- module: github.com/argoproj/argo-cd/v2
versions:
- fixed: 2.9.17
- introduced: 2.10.0
- fixed: 2.10.12
- introduced: 2.11.0
- f... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-7943-82jg-wmw5.json | {
"github.com/argoproj/argo-cd/@latest": {
"body": "{\"Version\":\"v1.8.6\",\"Time\":\"2021-02-26T21:12:06Z\"}",
"status_code": 200
},
"github.com/argoproj/argo-cd/@v/v0.4.0.mod": {
"body": "module github.com/argoproj/argo-cd\n",
"status_code": 200
},
"github.com/argoproj/argo-cd/v2/@latest": {
"body": "... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-3hwm-922r-47hw.json | {
"atomys.codes/stud42/@latest": {
"body": "{\"Version\":\"v0.20.1\",\"Time\":\"2022-12-11T01:07:58Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/42Atomys/stud42.git\",\"Ref\":\"refs/tags/v0.20.1\",\"Hash\":\"a119d3bc90dd7af8987f5e579e3c9740faa55439\"}}",
"status_code": 200
},
"atomys.codes/stud42/... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-g5gj-9ggf-9vmq.json | {
"github.com/cloudflare/cfrpki/@latest": {
"body": "{\"Version\":\"v1.5.10\",\"Time\":\"2023-04-28T09:50:47Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/cloudflare/cfrpki\",\"Ref\":\"refs/tags/v1.5.10\",\"Hash\":\"80909937cc41c1061a7c2a2cca0580b1d8ff2348\"}}",
"status_code": 200
},
"github.com/cl... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-6rg3-8h8x-5xfv.json | {
"github.com/pterodactyl/wings/@latest": {
"body": "{\"Version\":\"v1.11.13\",\"Time\":\"2024-05-08T04:12:59Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/pterodactyl/wings\",\"Ref\":\"refs/tags/v1.11.13\",\"Hash\":\"71c5338549801ca1dde46919f3ea81500269264d\"}}",
"status_code": 200
},
"github.com/... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-jmp2-wc4p-wfh2.json | {
"github.com/mutagen-io/mutagen-compose/@latest": {
"body": "{\"Version\":\"v0.17.6\",\"Time\":\"2024-04-30T19:10:04Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/mutagen-io/mutagen-compose\",\"Ref\":\"refs/tags/v0.17.6\",\"Hash\":\"4e43863497b91da187cafea8d744488483a91845\"}}",
"status_code": 200
... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-54q4-74p3-mgcw.json | {
"github.com/zhaojh329/rttys/@latest": {
"body": "{\"Version\":\"v1.1.0\",\"Time\":\"2018-06-03T10:57:37Z\"}",
"status_code": 200
},
"github.com/zhaojh329/rttys/@v/list": {
"body": "v1.0.2\nv2.5.1+incompatible\nv1.0.0\nv2.0.1+incompatible\nv2.5.0+incompatible\nv2.8.1+incompatible\nv2.1.0+incompatible\nv2.0.2+... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-5m6c-jp6f-2vcv.json | {
"github.com/oauth2-proxy/oauth2-proxy/@latest": {
"body": "{\"Version\":\"v3.2.0+incompatible\",\"Time\":\"2019-04-12T10:26:55Z\"}",
"status_code": 200
},
"github.com/oauth2-proxy/oauth2-proxy/@v/list": {
"body": "v2.0.1+incompatible\nv1.1.1\nv3.0.0+incompatible\nv3.1.0+incompatible\nv3.2.0+incompatible\n",
... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-fv82-r8qv-ch4v.json | {
"github.com/pomerium/pomerium/@latest": {
"body": "{\"Version\":\"v0.26.0\",\"Time\":\"2024-05-14T16:23:24Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/pomerium/pomerium\",\"Ref\":\"refs/tags/v0.26.0\",\"Hash\":\"adb5f781a65f0f06305e5988b4b98959c7a48a0d\"}}",
"status_code": 200
},
"github.com/po... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-pmfr-63c2-jr5c.json | {
"github.com/sylabs/singularity/@latest": {
"body": "{\"Version\":\"v0.0.0-20230731083700-61a3083f0c3c\",\"Time\":\"2023-07-31T08:37:00Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/sylabs/singularity\",\"Hash\":\"61a3083f0c3c37215e26f6e4a808c5f0c6f24592\"}}",
"status_code": 200
},
"github.com/syl... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-66p8-j459-rq63.json | {
"github.com/pterodactyl/wings/@latest": {
"body": "{\"Version\":\"v1.11.13\",\"Time\":\"2024-05-08T04:12:59Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/pterodactyl/wings\",\"Ref\":\"refs/tags/v1.11.13\",\"Hash\":\"71c5338549801ca1dde46919f3ea81500269264d\"}}",
"status_code": 200
},
"github.com/... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-g9wh-3vrx-r7hg.json | {
"github.com/cloudflare/cfrpki/@latest": {
"body": "{\"Version\":\"v1.5.10\",\"Time\":\"2023-04-28T09:50:47Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/cloudflare/cfrpki\",\"Ref\":\"refs/tags/v1.5.10\",\"Hash\":\"80909937cc41c1061a7c2a2cca0580b1d8ff2348\"}}",
"status_code": 200
},
"github.com/cl... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-3cqf-953p-h5cp.json | {
"github.com/argoproj/argo-cd/@latest": {
"body": "{\"Version\":\"v1.8.6\",\"Time\":\"2021-02-26T21:12:06Z\"}",
"status_code": 200
},
"github.com/argoproj/argo-cd/@v/v0.11.0.mod": {
"body": "module github.com/argoproj/argo-cd\n",
"status_code": 200
},
"github.com/argoproj/argo-cd/v2/@latest": {
"body": ... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-33m6-q9v5-62r7.json | {
"github.com/apptainer/sif/@latest": {
"body": "{\"Version\":\"v1.7.0\",\"Time\":\"2021-11-26T14:01:32Z\"}",
"status_code": 200
},
"github.com/apptainer/sif/@v/v1.2.1-0.20180103161547-0ef6afb2f6cd.mod": {
"status_code": 404
},
"github.com/apptainer/sif/@v/v1.2.1-0.20180404165556-75cca531ea76.mod": {
"stat... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-9689-rx4v-cqgc.json | {
"github.com/concourse/concourse/@latest": {
"body": "{\"Version\":\"v4.2.3+incompatible\",\"Time\":\"2019-02-15T21:17:35Z\"}",
"status_code": 200
},
"github.com/concourse/concourse/@v/list": {
"body": "v0.26.0\nv0.36.0\nv1.3.0\nv0.6.0-rc.17\nv0.15.0\nv3.3.3+incompatible\nv0.3.0-rc.1\nv3.6.0+incompatible\nv0.... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-wx8q-rgfr-cf6v.json | {
"github.com/google/exposure-notifications-verification-server/@latest": {
"body": "{\"Version\":\"v1.17.0\",\"Time\":\"2023-02-27T23:33:48Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/google/exposure-notifications-verification-server\",\"Ref\":\"refs/tags/v1.17.0\",\"Hash\":\"c859608ff07720228117339... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-v6rw-hhgg-wc4x.json | {
"github.com/evmos/evmos/@latest": {
"body": "{\"Version\":\"v1.1.3\",\"Time\":\"2022-07-13T15:43:34Z\"}",
"status_code": 200
},
"github.com/evmos/evmos/v10/@latest": {
"body": "{\"Version\":\"v10.0.1\",\"Time\":\"2023-01-03T20:26:16Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/evmos/evmos\",\"... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-28r2-q6m8-9hpx.json | {
"github.com/hashicorp/go-getter/@latest": {
"body": "{\"Version\":\"v1.7.5\",\"Time\":\"2024-06-21T21:06:48Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/hashicorp/go-getter\",\"Hash\":\"5a63fd9c0d5b8da8a6805e8c283f46f0dacb30b3\",\"Ref\":\"refs/tags/v1.7.5\"}}",
"status_code": 200
},
"github.com/... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-m99c-q26r-m7m7.json | {
"github.com/evmos/evmos/@latest": {
"body": "{\"Version\":\"v1.1.3\",\"Time\":\"2022-07-13T15:43:34Z\"}",
"status_code": 200
},
"github.com/evmos/evmos/v10/@latest": {
"body": "{\"Version\":\"v10.0.1\",\"Time\":\"2023-01-03T20:26:16Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/evmos/evmos\",\"... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-pg5p-wwp8-97g8.json | {
"github.com/cilium/cilium/@latest": {
"body": "{\"Version\":\"v1.15.6\",\"Time\":\"2024-06-10T10:37:30Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/cilium/cilium\",\"Ref\":\"refs/tags/v1.15.6\",\"Hash\":\"a09e05e6b63d82dbc3a1b0de1721a3407c340e7c\"}}",
"status_code": 200
},
"github.com/cilium/cil... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-627p-rr78-99rj.json | {
"github.com/concourse/concourse/@latest": {
"body": "{\"Version\":\"v4.2.3+incompatible\",\"Time\":\"2019-02-15T21:17:35Z\"}",
"status_code": 200
},
"github.com/concourse/concourse/@v/list": {
"body": "v0.26.0\nv0.36.0\nv1.3.0\nv0.6.0-rc.17\nv0.15.0\nv3.3.3+incompatible\nv0.3.0-rc.1\nv3.6.0+incompatible\nv0.... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-jh36-q97c-9928.json | {
"github.com/kubernetes/kubernetes/@latest": {
"body": "{\"Version\":\"v1.30.2\",\"Time\":\"2024-06-11T20:20:59Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/kubernetes/kubernetes\",\"Ref\":\"refs/tags/v1.30.2\",\"Hash\":\"39683505b630ff2121012f3c5b16215a1449d5ed\"}}",
"status_code": 200
},
"githu... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-vp35-85q5-9f25.json | {
"github.com/moby/moby/@latest": {
"body": "{\"Version\":\"v26.1.4+incompatible\",\"Time\":\"2024-06-05T10:33:21Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/moby/moby\",\"Ref\":\"refs/tags/v26.1.4\",\"Hash\":\"de5c9cf0b96e4e172b96db54abababa4a328462f\"}}",
"status_code": 200
},
"github.com/moby/... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-7fxj-fr3v-r9gj.json | {
"github.com/pingcap/tidb/@latest": {
"body": "{\"Version\":\"v1.0.9\",\"Time\":\"2018-04-20T06:03:18Z\"}",
"status_code": 200
},
"github.com/pingcap/tidb/@v/list": {
"body": "v1.0.8\nv2.0.0-rc.6+incompatible\nv1.0.2\nv1.1.0-beta\nv2.1.0-rc.2+incompatible\nv2.0.0-rc.3+incompatible\nv2.0.4+incompatible\nv1.0.5... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-xx9w-464f-7h6f.json | {
"github.com/goharbor/harbor/@latest": {
"body": "{\"Version\":\"v2.11.0+incompatible\",\"Time\":\"2024-06-04T10:29:53Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/goharbor/harbor\",\"Ref\":\"refs/tags/v2.11.0\",\"Hash\":\"70255684c5711a065b4412e94ed7c5401b9435db\"}}",
"status_code": 200
},
"gith... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-hv53-vf5m-8q94.json | {
"github.com/personnummer/go/@latest": {
"body": "{\"Version\":\"v1.1.0\",\"Time\":\"2018-12-03T13:03:26Z\"}",
"status_code": 200
},
"github.com/personnummer/go/v2/@latest": {
"status_code": 404
},
"github.com/personnummer/go/v3/@latest": {
"body": "{\"Version\":\"v3.1.2\",\"Time\":\"2023-06-12T20:11:33Z\... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-cf7g-cm7q-rq7f.json | {
"github.com/drakkan/sftpgo/@latest": {
"body": "{\"Version\":\"v1.2.2\",\"Time\":\"2020-11-18T18:24:19Z\"}",
"status_code": 200
},
"github.com/drakkan/sftpgo/v2/@latest": {
"body": "{\"Version\":\"v2.6.2\",\"Time\":\"2024-06-21T17:06:18Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/drakkan/sftp... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-w4xh-w33p-4v29.json | {
"github.com/git-lfs/git-lfs/@latest": {
"body": "{\"Version\":\"v1.5.6\",\"Time\":\"2017-02-16T16:41:03Z\"}",
"status_code": 200
},
"github.com/git-lfs/git-lfs/@v/list": {
"body": "v1.3.0\nv1.0.2\nv0.2.2\nv2.4.1+incompatible\nv2.5.1+incompatible\nv2.0.2-rc1+incompatible\nv1.5.1\nv2.2.2-example+incompatible\n... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-3wq5-3f56-v5xc.json | {
"github.com/mattermost/mattermost-server/@latest": {
"body": "{\"Version\":\"v9.9.0+incompatible\",\"Time\":\"2024-05-30T18:41:30Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/mattermost/mattermost-server\",\"Ref\":\"refs/tags/v9.9.0\",\"Hash\":\"4179e17b491ec5292ca6e157d7b216b464bce397\"}}",
"stat... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-6qfg-8799-r575.json | {
"github.com/kubernetes/kubernetes/@latest": {
"body": "{\"Version\":\"v1.30.2\",\"Time\":\"2024-06-11T20:20:59Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/kubernetes/kubernetes\",\"Ref\":\"refs/tags/v1.30.2\",\"Hash\":\"39683505b630ff2121012f3c5b16215a1449d5ed\"}}",
"status_code": 200
},
"githu... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-hmfx-3pcx-653p.json | {
"github.com/containerd/containerd/@latest": {
"body": "{\"Version\":\"v1.7.18\",\"Time\":\"2024-06-05T02:05:23Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/containerd/containerd\",\"Ref\":\"refs/tags/v1.7.18\",\"Hash\":\"ae71819c4f5e67bb4d5ae76a6b735f29cc25774e\"}}",
"status_code": 200
},
"githu... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-69v6-xc2j-r2jf.json | {
"github.com/ethereum/go-ethereum/@latest": {
"body": "{\"Version\":\"v1.14.5\",\"Time\":\"2024-06-06T13:17:53Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/ethereum/go-ethereum\",\"Ref\":\"refs/tags/v1.14.5\",\"Hash\":\"0dd173a727dd2d2409b8e401b22e85d20c25b71f\"}}",
"status_code": 200
},
"github.... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-xmg8-99r8-jc2j.json | {
"github.com/argoproj/argo-cd/@latest": {
"body": "{\"Version\":\"v1.8.6\",\"Time\":\"2021-02-26T21:12:06Z\"}",
"status_code": 200
},
"github.com/argoproj/argo-cd/v2/@latest": {
"body": "{\"Version\":\"v2.11.3\",\"Time\":\"2024-06-06T08:36:25Z\",\"Origin\":{\"VCS\":\"git\",\"URL\":\"https://github.com/argopro... |
TestToReport | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/genericosv/testdata/proxy/TestToReport/GHSA-hjv9-hm2f-rpcj.json | {
"github.com/grafana/grafana/@latest": {
"body": "{\"Version\":\"v5.4.5+incompatible\",\"Time\":\"2019-08-19T14:38:14Z\"}",
"status_code": 200
},
"github.com/grafana/grafana/@v/list": {
"body": "v4.3.2+incompatible\nv1.9.0\nv1.3.0\nv5.1.2+incompatible\nv1.0.2\nv4.6.0-beta3+incompatible\nv6.1.2+incompatible\nv... |
report | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/linter_test.go | // 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.
package report
import (
"sync"
"testing"
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
)
func TestLinter(t *testing.T) {
l := Ne... |
report | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/references.go | // 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.
package report
import (
"net/url"
"strings"
"golang.org/x/vulndb/internal/idstr"
"golang.org/x/vulndb/internal/osv"
)
func isFix(url string) bool {
retu... |
report | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/client.go | // 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.
package report
import (
"context"
"fmt"
"io"
"path/filepath"
"strings"
"github.com/go-git/go-git/v5"
"github.com/go-git/go-git/v5/plumbing/object"
"go... |
report | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/report.go | // 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.
// Package report contains functionality for parsing and linting YAML reports
// in reports/.
package report
import (
"errors"
"fmt"
"io"
"io/fs"
"os"
"p... |
report | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/lint.go | // 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.
package report
import (
"errors"
"fmt"
"net/url"
"path/filepath"
"regexp"
"strings"
"unicode"
"golang.org/x/exp/slices"
"golang.org/x/mod/module"
"g... |
report | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/fix.go | // 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.
package report
import (
"errors"
"fmt"
"regexp"
"sort"
"strconv"
"strings"
"golang.org/x/exp/maps"
"golang.org/x/exp/slices"
"golang.org/x/mod/module... |
report | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/fix_test.go | // 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.
package report
import (
"errors"
"testing"
"github.com/google/go-cmp/cmp"
"golang.org/x/vulndb/internal/osv"
"golang.org/x/vulndb/internal/proxy"
)
func... |
report | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/spelling.go | // 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.
package report
import "strings"
// Hard-coded list of words we've had problems with in the past.
var replacer = strings.NewReplacer(
"expropiation", "expropr... |
report | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/check_packages_test.go | // 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.
package report
import (
"context"
"errors"
"flag"
"testing"
"golang.org/x/vulndb/internal/pkgsite"
)
var realPkgsite = flag.Bool("pkgsite", false, "use ... |
report | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/client_test.go | // Copyright 2022 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.
package report
import (
"path/filepath"
"testing"
"time"
"github.com/google/go-cmp/cmp"
"github.com/google/go-cmp/cmp/cmpopts"
"golang.org/x/vulndb/inte... |
report | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/check_packages.go | // 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.
package report
import (
"context"
"errors"
"fmt"
"golang.org/x/vulndb/internal/pkgsite"
)
// CheckPackages returns an error if any of the packages listed... |
report | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/lint_test.go | // Copyright 2022 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.
package report
import (
"errors"
"flag"
"fmt"
"os"
"path"
"path/filepath"
"strings"
"testing"
"github.com/google/go-cmp/cmp"
"github.com/google/go-c... |
report | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/linter.go | // 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.
package report
import (
"fmt"
"sync"
)
type linter struct {
prefix string
mu sync.Mutex // protects errors and groups
errors []string
groups []*lin... |
report | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/osv.go | // Copyright 2022 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.
package report
import (
"encoding/json"
"fmt"
"os"
"path/filepath"
"regexp"
"sort"
"strings"
"time"
"golang.org/x/exp/maps"
"golang.org/x/vulndb/int... |
report | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/new.go | // 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.
package report
import (
"context"
"time"
"golang.org/x/vulndb/internal/proxy"
)
// Source represents a vulnerability format (e.g., GHSA, CVE)
// that can ... |
report | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/osv_test.go | // Copyright 2022 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.
package report
import (
"path/filepath"
"reflect"
"testing"
"time"
"github.com/google/go-cmp/cmp"
"golang.org/x/vulndb/internal/osv"
)
func TestToOSV(t... |
report | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/git.go | // 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.
package report
import (
"context"
"os"
"strings"
"github.com/go-git/go-git/v5"
"github.com/go-git/go-git/v5/plumbing"
"golang.org/x/vulndb/cmd/vulnrepor... |
report | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/report_test.go | // Copyright 2022 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.
package report
import (
"os"
"path/filepath"
"strings"
"testing"
"github.com/google/go-cmp/cmp"
)
func TestRoundTrip(t *testing.T) {
// A report should... |
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/repo.txtar | # Copyright 2022 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.
Repo for testing reports.All(), semi in the shape of
github.com/golang/vulndb
-- data/reports/GO-9999-0001.yaml --
id: GO-9999-0001
modules:
- module: std
cve_me... |
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/std-report.yaml | # Copyright 2022 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.
id: std-report
modules:
- module: std
versions:
- fixed: 1.17.11
- introduced: 1.18.0
fixed: 1.18.3
packages:
- package: crypto/... |
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/unknown-field.yaml | id: unknown-field
module: github.com/gin-gonic/gin
unknown: 1
|
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/no-versions.yaml | id: no-versions
modules:
- module: github.com/gin-gonic/gin
packages:
- package: github.com/gin-gonic/gin
symbols:
- defaultLogFormatter
description: |
The default Formatter for the Logger middleware (LoggerConfig.Formatter),
which is included in the Default engine, allows attacker... |
testdata | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/report.yaml | id: report
modules:
- module: github.com/gin-gonic/gin
versions:
- fixed: 1.6.0
packages:
- package: github.com/gin-gonic/gin
symbols:
- defaultLogFormatter
description: |
The default Formatter for the Logger middleware (LoggerConfig.Formatter),
which is inc... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/reference_invalid_URL.txtar | 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.
Test: TestLintOffline/reference_invalid_URL
Description: References must be valid URLs.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
- module: gol... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/cve_metadata_bad_fields.txtar | 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.
Test: TestLintOffline/cve_metadata_bad_fields
Description: Field cve_metadata must contain valid entries for ID and CWE.
-- data/reports/GO-0000-0000.yaml --
id: GO-000... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/markdown.txtar | 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.
Test: TestLintOffline/markdown
Description: Descriptions and summaries should not contain Markdown formatting.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
mod... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/versions_checked_no_vulnerable_at.txtar | 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.
Test: TestLintOffline/versions_checked_no_vulnerable_at
Description: Version checks still apply if vulnerable_at is not set.
-- data/reports/GO-0000-0000.yaml --
id: GO... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/no_advisory.txtar | 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.
Test: TestLintOffline/no_advisory
Description: Reports without a description must have an advisory link.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/wrong_module_cmd.txtar | 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.
Test: TestLintOffline/wrong_module_cmd
Description: Packages beginning with 'cmd' should be in the 'cmd' module.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
m... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/invalid_semver.txtar | 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.
Test: TestLintOffline/invalid_semver
Description: All versions must be valid, unprefixed, semver
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
- mo... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/references_multiple_advisories.txtar | 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.
Test: TestLintOffline/references_multiple_advisories
Description: Each report should contain at most one advisory reference.
-- data/reports/GO-0000-0000.yaml --
id: GO... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/summary_no_path.txtar | 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.
Test: TestLintOffline/summary_no_path
Description: The summary must contain a module or package path listed in the report.
-- data/reports/GO-0000-0000.yaml --
id: GO-0... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/missing_fields_excluded.txtar | 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/exc... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/cve_metadata_missing_fields.txtar | 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.
Test: TestLintOffline/cve_metadata_missing_fields
Description: Field cve_metadata (if not nil), must have an ID and CWE.
-- data/reports/GO-0000-0000.yaml --
id: GO-000... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/no_description_go_cve.txtar | 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.
Test: TestLintOffline/no_description_go_cve
Description: Reports with a CVE assigned by the Go CNA must have a description.
-- data/reports/GO-0000-0000.yaml --
id: GO-... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/no_package_stdlib.txtar | 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.
Test: TestLintOffline/no_package_stdlib
Description: In standard library reports, all modules must contain at least one package.
-- data/reports/GO-0000-0000.yaml --
id... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/no_ID.txtar | 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.
Test: TestLintOffline/no_ID
Description: All reports must have an ID.
-- data/reports/NO-GO-ID.yaml --
modules:
- module: golang.org/x/net
vulnerable_at: 1.2.... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/summary_too_long.txtar | 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.
Test: TestLintOffline/summary_too_long
Description: The summary must be 125 characters or less.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
- mod... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/unsupported_versions.txtar | 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.
Test: TestLintOffline/unsupported_versions
Description: The unsupported_versions field should never be set.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
module... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/module_package_prefix.txtar | 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.
Test: TestLintOffline/module_package_prefix
Description: In third party reports, module names must be prefixes of package names.
-- data/reports/GO-0000-0000.yaml --
id... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/summary_path_prefix.txtar | 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.
Test: TestLintOffline/summary_path_prefix
Description: Summary may contain a prefix of a module or package path that is mentioned at least twice in a report. This is a w... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/bad_ghsa.txtar | 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.
Test: TestLintOffline/bad_ghsa
Description: All GHSAs must be valid.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
- module: golang.org/x/net
... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/vulnerable_at_and_skip_fix_ok.txtar | 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.
Test: TestLintOffline/vulnerable_at_and_skip_fix_ok
Description: It is OK to set both module.vulnerable_at and module.package.skip_fix.
-- data/reports/GO-0000-0000.yam... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/bad_cve.txtar | 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.
Test: TestLintOffline/bad_cve
Description: All CVEs must be valid.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
- module: golang.org/x/net
v... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/valid_excluded.txtar | 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/valid_excluded
Description: No lints are generated for valid excluded reports.
-- data/excluded/GO-0000-0000.yaml --
id: GO-0000-0000
excluded: NO... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/module_version_offline.txtar | 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.
Test: TestLintOffline/module_version_offline
Description: In offline mode, module-version consistency is not checked because it requires a call to the module proxy.
-- ... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/summary_ok_unreviewed.txtar | 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.
Test: TestLintOffline/summary_ok_unreviewed
Description: Summary does not need to conform to style guide for unreviewed reports.
-- data/reports/GO-0000-0000.yaml --
id... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/no_description_ok.txtar | 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.
Test: TestLintOffline/no_description_ok
Description: Reports with no description are OK if they have an advisory.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/reference_invalid_type.txtar | 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.
Test: TestLintOffline/reference_invalid_type
Description: Reference type must be one of the pre-defined types in osv.ReferenceTypes.
-- data/reports/GO-0000-0000.yaml -... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/references_missing_stdlib.txtar | 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.
Test: TestLintOffline/references_missing_stdlib
Description: Standard library reports must contain at least one report, fix, and announcement link.
-- data/reports/GO-0... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/no_review_status.txtar | 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.
Test: TestLintOffline/no_review_status
Description: Regular (non-excluded) reports must have a review status.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modu... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/no_advisory_unreviewed.txtar | 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.
Test: TestLintOffline/no_advisory_unreviewed
Description: Unreviewed reports must have an advisory link.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/vulnerable_at_out_of_range.txtar | 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.
Test: TestLintOffline/vulnerable_at_out_of_range
Description: Field module.vulnerable_at must be inside the vulnerable version range for the module.
-- data/reports/GO-... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/description_long_word_ok.txtar | 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.
Test: TestLintOffline/description_long_word_ok
Description: Descriptions may contain lines longer than 80 characters if the line is a single word.
-- data/reports/GO-00... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/cve_and_cve_metadata_ok.txtar | 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.
Test: TestLintOffline/cve_and_cve_metadata_ok
Description: It is OK to set both cves and cve_metadata.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/bad_related.txtar | 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.
Test: TestLintOffline/bad_related
Description: The related field must not contain duplicate or invalid IDs.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
module... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/no_summary.txtar | 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.
Test: TestLintOffline/no_summary
Description: Regular (non-excluded) reports must have a summary.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
- m... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/no_modules.txtar | 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.
Test: TestLintOffline/no_modules
Description: All reports (except excluded reports marked NOT_GO_CODE) must have at least one module.
-- data/reports/GO-0000-0000.yaml ... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/runtime_package_with_symbols.txtar | 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.
Test: TestLintOffline/runtime_package_with_symbols
Description: In standard library reports, the runtime package must not contain any symbols.
-- data/reports/GO-0000-0... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/summary_period.txtar | 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.
Test: TestLintOffline/summary_period
Description: The summary should not end in a period. It should be a phrase, not a sentence.
-- data/reports/GO-0000-0000.yaml --
id... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/versions_fixed_before_introduced.txtar | 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.
Test: TestLintOffline/versions_fixed_before_introduced
Description: Within a version range, the fixed version must come before the introduced version.
-- data/reports/G... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/versions_overlapping_ranges.txtar | 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.
Test: TestLintOffline/versions_overlapping_ranges
Description: Version ranges must not overlap.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
- mod... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/summary_todo.txtar | 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.
Test: TestLintOffline/summary_todo
Description: Summaries must not contain TODOs.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
- module: golang.or... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/description_line_length.txtar | 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.
Test: TestLintOffline/description_line_length
Description: Descriptions must not (except in special cases) contain lines longer than 80 characters.
-- data/reports/GO-0... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/no_module_path.txtar | 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.
Test: TestLintOffline/no_module_path
Description: Every module must have a path.
-- data/reports/GO-0000-0000.yaml --
id: GO-0000-0000
modules:
- module: golang.org... |
TestLintOffline | /home/linuxreitt/Michinereitt/Tuning/Workshop_Scripts/hf-codegen/data/golang_public_repos/vulndb/internal/report/testdata/lint/TestLintOffline/references_incorrect_stdlib.txtar | 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.
Test: TestLintOffline/references_incorrect_stdlib
Description: Standard library reports must contain references matching a specific format.
-- data/reports/GO-0000-0000... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.