-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #73 from cyber-dojo/update-snyk-file-106
Update .snyk file to ignore two new low level vulnerabilities
- Loading branch information
Showing
4 changed files
with
28 additions
and
2 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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
Edit this file for a quick way to force a CI run | ||
105 | ||
106 |
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 |
---|---|---|
@@ -1,3 +1,15 @@ | ||
# This file specifies snyk vulnerabilities to be ignored. | ||
# If this file contains only comments, then no vulnerabilities are ignored | ||
# but do not delete this file - it is needed for the live-snyk-scans repo workflows. | ||
ignore: | ||
SNYK-GOLANG-GITHUBCOMGOLANGJWTJWTV4-8341242: | ||
- '*': | ||
reason: No fix available | ||
expires: 2025-01-08T10:03:36.581Z | ||
created: 2024-11-08T10:03:36.589Z | ||
SNYK-ALPINE320-CURL-8348469: | ||
- '*': | ||
reason: No fix available | ||
expires: 2025-01-08T10:03:36.581Z | ||
created: 2024-11-08T10:03:36.589Z | ||
patch: {} |
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,14 @@ | ||
#!/usr/bin/env bash | ||
set -Eeu | ||
|
||
export ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" | ||
source "${ROOT_DIR}/bin/lib.sh" | ||
export $(echo_versioner_env_vars) | ||
|
||
readonly IMAGE_NAME="${CYBER_DOJO_RUNNER_IMAGE}:${CYBER_DOJO_RUNNER_TAG}" | ||
|
||
snyk container test "${IMAGE_NAME}" \ | ||
--file="${ROOT_DIR}/Dockerfile" \ | ||
--sarif \ | ||
--sarif-file-output="${ROOT_DIR}/snyk.container.scan.json" \ | ||
--policy-path="${ROOT_DIR}/.snyk" |
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