-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SAST scanning issues CWE-209 CWE-23 (#290)
Signed-off-by: Jack Ding <[email protected]>
- Loading branch information
Showing
68 changed files
with
1,498 additions
and
2,894 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | ||
#- "vendor/**" | ||
#- "unpacked_remote_sources/cachito-gomod-with-deps/app/vendor/**" | ||
- "**/*_test.go" | ||
- "**/*_test.sh" | ||
- "test/**" | ||
- "**/testdata/**" | ||
- "**/testing/**" | ||
- hack # scripts only |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
210 changes: 105 additions & 105 deletions
210
vendor/github.com/prometheus/client_golang/prometheus/gauge.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.