Skip to content

Commit

Permalink
Merge pull request openshift-kni#747 from openshift-kni/snyk-exclude-…
Browse files Browse the repository at this point in the history
…test-code

snyk: e2e: ignore test code - unit and e2e
  • Loading branch information
ffromani authored Oct 27, 2023
2 parents 7162fb0 + da1a140 commit 7f3b6d5
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .snyk
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 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/**"
- "**/*_test.go"
- "vendor/k8s.io/**"
- "vendor/sigs.k8s.io/**"
- "vendor/github.com/golang/**"
- "vendor/github.com/google/**"
- "vendor/github.com/openshift/**"
- "vendor/golang.org/**"

0 comments on commit 7f3b6d5

Please sign in to comment.