Browse Source

security: enable go stdlib scans (#20905)

* security: enable go stdlib scans

* security: enable go stdlib binary scan

* Fix formating
pull/21214/head
Deniz Onur Duzgun 6 months ago committed by GitHub
parent
commit
574f53d176
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      .release/security-scan.hcl
  2. 7
      scan.hcl

1
.release/security-scan.hcl

@ -56,6 +56,7 @@ container {
binary {
go_modules = true
osv = true
go_stdlib = true
# We can't enable npm for binary targets today because we don't yet embed the relevant file
# (yarn.lock) in the Consul binary. This is something we may investigate in the future.

7
scan.hcl

@ -15,9 +15,10 @@
# unlike the scans configured here, will block releases in CRT.
repository {
go_modules = true
npm = true
osv = true
go_modules = true
npm = true
osv = true
go_stdlib_version_file = ".go-version"
secrets {
all = true

Loading…
Cancel
Save