Skip to content

Commit 3c07231

Browse files
authored
Update security scan config (and .go-version) (#771)
Updates security-scan.hcl to be more in line with Vault's, and relies on the OSV vulnerability database for container scans instead of just alpine_secdb/alpine_security. Use go 1.24.
1 parent 3f04842 commit 3c07231

File tree

4 files changed

+22
-13
lines changed

4 files changed

+22
-13
lines changed

.go-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.23.6
1+
1.24.4

.release/security-scan.hcl

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,22 @@
11
# Copyright (c) HashiCorp, Inc.
22
# SPDX-License-Identifier: MPL-2.0
33

4-
container {
5-
dependencies = true
6-
alpine_secdb = true
7-
secrets = true
4+
binary {
5+
go_stdlib = true // Scan the Go standard library used to build the binary.
6+
go_modules = true // Scan the Go modules included in the binary.
7+
osv = true // Use the OSV vulnerability database.
8+
oss_index = true // And use OSS Index vulnerability database.
9+
10+
secrets {
11+
all = true
12+
}
813
}
914

10-
binary {
11-
secrets = true
12-
go_modules = true
13-
osv = true
14-
oss_index = false
15-
nvd = false
16-
}
15+
container {
16+
dependencies = true // Scan any installed packages for vulnerabilities.
17+
osv = true // Use the OSV vulnerability database.
18+
19+
secrets {
20+
all = true
21+
}
22+
}

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
## Unreleased
22

3+
Changes:
4+
* Building with Go 1.24.4
5+
36
## 1.6.2 (February 26, 2025)
47

58
Changes:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module github.com/hashicorp/vault-k8s
22

33
go 1.24.0
44

5-
toolchain go1.24.1
5+
toolchain go1.24.4
66

77
require (
88
github.com/cenkalti/backoff/v4 v4.3.0

0 commit comments

Comments
 (0)