Skip to content

Commit 1f9bc17

Browse files
committed
HOSTEDCP-1965: Ignore vendor and resources.go from snyk code test
vendor is handled by dependabot resources.go uses MD5 that is a broken crypto but our usage is just to check if the file changed and the likelihood of collision in our managed usage does not warrant a change. Signed-off-by: Antoni Segura Puimedon <[email protected]>
1 parent 27c1163 commit 1f9bc17

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.snyk

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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+
- 'control-plane-operator/hostedclusterconfigoperator/controllers/resources/resources.go'

0 commit comments

Comments
 (0)