feat: ci cd pipelien #1
@@ -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