Skip to content

Commit c6505a7

Browse files
authored
chore: check vulnerabilities with custom action (codeready-toolchain#687)
support exclusions Signed-off-by: Xavier Coulon <xcoulon@redhat.com>
1 parent e209d75 commit c6505a7

File tree

2 files changed

+23
-4
lines changed

2 files changed

+23
-4
lines changed

.github/workflows/govulncheck.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
go-version-file: go.mod
2020

2121
- name: Run govulncheck
22-
uses: golang/govulncheck-action@v1
22+
uses: codeready-toolchain/toolchain-cicd/govulncheck-action@master
2323
with:
24-
go-version-input: ${{ steps.install-go.outputs.go-version }}
25-
go-package: ./...
26-
repo-checkout: false
24+
go-version-file: go.mod
25+
cache: false
26+
config: .govulncheck.yaml

.govulncheck.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
ignored-vulnerabilities:
2+
# Request smuggling due to acceptance of invalid chunked data in net/http
3+
# Found in Found in: net/http/internal@go1.22.12
4+
# Fixed in Fixed in: net/http/internal@go1.23.8
5+
- id: GO-2025-3563
6+
info: https://pkg.go.dev/vuln/GO-2025-3563
7+
silence-until: 2025-08-01
8+
# Inconsistent handling of O_CREATE|O_EXCL on Unix and Windows in os in syscall
9+
# Found in Found in: os@go1.22.12
10+
# Fixed in Fixed in: os@go1.23.10
11+
- id: GO-2025-3750
12+
info: https://pkg.go.dev/vuln/GO-2025-3750
13+
silence-until: 2025-08-01
14+
# Sensitive headers not cleared on cross-origin redirect in net/http
15+
# Found in Found in: net/http@go1.22.12
16+
# Fixed in Fixed in: net/http@go1.23.10
17+
- id: GO-2025-3751
18+
info: https://pkg.go.dev/vuln/GO-2025-3751
19+
silence-until: 2025-08-01

0 commit comments

Comments
 (0)