Skip to content

Commit 82bd7f4

Browse files
ryancragunKent Gruber
andauthored
Refactor release security scan config (#30597) (#30742)
Co-authored-by: Kent Gruber <[email protected]>
1 parent 7fc4854 commit 82bd7f4

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

.release/security-scan.hcl

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,32 @@
22
# SPDX-License-Identifier: BUSL-1.1
33

44
binary {
5-
secrets = false
6-
go_modules = false
7-
osv = true
8-
oss_index = true
9-
nvd = false
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+
triage {
11+
suppress {
12+
vulnerabilities = [
13+
"GO-2022-0635", // github.com/aws/[email protected]
14+
]
15+
}
16+
}
1017
}
1118

1219
container {
13-
dependencies = true
14-
alpine_security = true
15-
secrets = true
20+
dependencies = true // Scan any installed packages for vulnerabilities.
21+
osv = true // Use the OSV vulnerability database.
22+
23+
secrets {
24+
all = true
25+
}
1626

1727
triage {
1828
suppress {
1929
vulnerabilities = [
20-
// We can't do anything about these two CVE's until a new Alpine container with busybox 1.38 is available.
30+
// We can't do anything about these two CVEs until a new Alpine container with busybox 1.38 is available.
2131
"CVE-2025-46394",
2232
"CVE-2024-58251",
2333
"GO-2022-0635", // github.com/aws/[email protected]

0 commit comments

Comments
 (0)