mirror of
https://github.com/hashicorp/vault.git
synced 2026-06-09 00:33:28 -04:00
Add ToB Semgrep Rules (#26821)
* add tob goroutine rule for pr scanning * add tob racy slice and map rules --------- Co-authored-by: mickael e <mickael@hashicorp.com>
This commit is contained in:
parent
33d93652d5
commit
d4abdb1485
1 changed files with 7 additions and 1 deletions
8
scan.hcl
8
scan.hcl
|
|
@ -15,7 +15,13 @@ repository {
|
|||
plugin "semgrep" {
|
||||
use_git_ignore = true
|
||||
exclude = ["vendor"]
|
||||
config = ["tools/semgrep/ci", "p/r2c-security-audit"]
|
||||
config = [
|
||||
"tools/semgrep/ci",
|
||||
"p/r2c-security-audit",
|
||||
"r/trailofbits.go.hanging-goroutine.hanging-goroutine",
|
||||
"r/trailofbits.go.racy-append-to-slice.racy-append-to-slice",
|
||||
"r/trailofbits.go.racy-write-to-map.racy-write-to-map",
|
||||
]
|
||||
exclude_rule = ["generic.html-templates.security.unquoted-attribute-var.unquoted-attribute-var"]
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue