Skip to content

Commit 2a73c18

Browse files
racheljpgmandre
andcommitted
CARRY: Add Snyk security scan config
In addition to vendor directories, we can ignore things that do not end up in the product. Co-Authored-By: Martin André <[email protected]>
1 parent 53714f6 commit 2a73c18

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.snyk

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# References:
2+
# https://docs.snyk.io/scan-applications/snyk-code/using-snyk-code-from-the-cli/excluding-directories-and-files-from-the-snyk-code-cli-test
3+
# https://docs.snyk.io/snyk-cli/commands/ignore
4+
exclude:
5+
global:
6+
- "vendor/**"
7+
- "**/vendor/**"
8+
- "hack/**"
9+
- "test/**"
10+
- "**/*_test.go"

0 commit comments

Comments
 (0)