Skip to content

Commit

Permalink
Add Snyk file to exclude directories on scan
Browse files Browse the repository at this point in the history
This commit makes .synk file to exclude directories that needs
to be ignored.
  • Loading branch information
s1061123 committed Feb 21, 2024
1 parent 599223b commit 704f819
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# References:
# https://docs.snyk.io/scan-applications/snyk-code/using-snyk-code-from-the-cli/excluding-directories-and-files-from-the-snyk-code-cli-test
# https://docs.snyk.io/snyk-cli/commands/ignore
exclude:
global:
- "**/*_test.go"
- vendor/github.com/go-task/slim-sprig
- vendor/github.com/google/uuid
- vendor/github.com/onsi/ginkgo/v2/ginkgo/internal
- vendor/github.com/onsi/ginkgo/v2/ginkgo/unfocus
- vendor/github.com/onsi/ginkgo/v2/internal
- vendor/k8s.io/client-go/util/cert
- vendor/k8s.io/klog
- vendor/k8s.io/klog/v2

0 comments on commit 704f819

Please sign in to comment.