Skip to content

Commit d4abdb1

Browse files
ccapursomickael-hc
andauthored
Add ToB Semgrep Rules (#26821)
* add tob goroutine rule for pr scanning * add tob racy slice and map rules --------- Co-authored-by: mickael e <[email protected]>
1 parent 33d9365 commit d4abdb1

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

scan.hcl

+7-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,13 @@ repository {
1515
plugin "semgrep" {
1616
use_git_ignore = true
1717
exclude = ["vendor"]
18-
config = ["tools/semgrep/ci", "p/r2c-security-audit"]
18+
config = [
19+
"tools/semgrep/ci",
20+
"p/r2c-security-audit",
21+
"r/trailofbits.go.hanging-goroutine.hanging-goroutine",
22+
"r/trailofbits.go.racy-append-to-slice.racy-append-to-slice",
23+
"r/trailofbits.go.racy-write-to-map.racy-write-to-map",
24+
]
1925
exclude_rule = ["generic.html-templates.security.unquoted-attribute-var.unquoted-attribute-var"]
2026
}
2127

0 commit comments

Comments
 (0)