Skip to content

Commit 59ef370

Browse files
committed
Add Snyk file to exclude directories on scan
This commit makes .synk file to exclude vendor net/http2, images directories and ci config file from vulnerability scan. Signed-off-by: Periyasamy Palanisamy <pepalani@redhat.com>
1 parent 010953a commit 59ef370

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.snyk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
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/golang.org/x/net/http2
7+
- images/**
8+
- .ci-operator.yaml

0 commit comments

Comments
 (0)