chore: prefer gosec for semgrep rule and turn on codeql (#3418)

This commit is contained in:
Mark Collao authored and GitHub committed 2023-07-13 13:03:53 -05:00
1 parent b10a93d0e8
commit 75b4234668
2 files changed
+8 -7

No files matched your search

+3 -1
View File
@@ -6,7 +6,9 @@ on:
pull_request:
branches:
- 'main'
paths-ignore:
- 'website/'
jobs:
scan:
runs-on: ${{ fromJSON(vars.RUNNER_LARGE) }}
+5 -6
View File
@@ -14,12 +14,11 @@ repository {
plugin "semgrep" {
use_git_ignore = true
exclude = ["testing", "website"]
config = ["p/r2c-security-audit"]
exclude_rule = ["generic.html-templates.security.unquoted-attribute-var.unquoted-attribute-var"]
exclude = ["*_test.go", "website/*", "testing/*"]
config = ["p/gosec"]
}
# plugin "codeql" {
# languages = ["go"]
# }
plugin "codeql" {
languages = ["go"]
}
}