diff --git a/.gitea/workflows/pr-checker.yml b/.gitea/workflows/pr-checker.yml index 0860b94..feb3c1a 100644 --- a/.gitea/workflows/pr-checker.yml +++ b/.gitea/workflows/pr-checker.yml @@ -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: