ci: replace Snyk docker scan with Snyk Code SAST scan
PR Check / Dockerfile lint (droast) (pull_request) Skipped
PR Check / ESLint (pull_request) Successful in 34s
PR Check / Typecheck (pull_request) Successful in 39s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 6s
PR Check / Dependency audit (pull_request) Successful in 8s
PR Check / Security scan (Snyk) (pull_request) Failing after 43s
PR Check / AI code review (opencode) (pull_request) Successful in 7s
PR Check / Dockerfile lint (droast) (pull_request) Skipped
PR Check / ESLint (pull_request) Successful in 34s
PR Check / Typecheck (pull_request) Successful in 39s
PR Check / Secret scan (gitleaks) (pull_request) Successful in 6s
PR Check / Dependency audit (pull_request) Successful in 8s
PR Check / Security scan (Snyk) (pull_request) Failing after 43s
PR Check / AI code review (opencode) (pull_request) Successful in 7s
Dockerfile linting is already covered by the droast job; the second Snyk step now scans our own source for code vulnerabilities (XSS, injection, unsafe patterns) instead of the base image.
This commit is contained in:
1 parent
7197f757a6
commit
34d9577322
1 file changed
+6
-3
@@ -154,12 +154,15 @@ jobs:
|
||||
--severity-threshold=high \
|
||||
--strict-out-of-sync=true
|
||||
|
||||
- name: Snyk Dockerfile / base image check
|
||||
- name: Snyk Code scan (SAST)
|
||||
env:
|
||||
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
|
||||
if: ${{ hashFiles(format('{0}/Dockerfile', env.APP_DIR)) != '' }}
|
||||
working-directory: ${{ env.APP_DIR }}
|
||||
run: snyk test --docker --file=Dockerfile --severity-threshold=high
|
||||
run: |
|
||||
# static analysis of our own source code (XSS, injection, ...)
|
||||
# Dockerfile/base image checks are covered by the droast job
|
||||
snyk code test \
|
||||
--severity-threshold=high
|
||||
|
||||
# -------------------------------------------------------- ai code review --
|
||||
review:
|
||||
|
||||
Reference in new issue
Block a user