Skip to content

correction guard sanitizer / ajout helmet + ajout rate limiter #37

correction guard sanitizer / ajout helmet + ajout rate limiter

correction guard sanitizer / ajout helmet + ajout rate limiter #37

name: Snyk Container
on:
push:
branches: [main, dev, 'release/*']
pull_request:
branches: [main, dev, 'release/*']
schedule:
- cron: '45 21 * * 3'
permissions:
contents: read
jobs:
snyk:
permissions:
contents: read
# security-events: write
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build a Docker image
run: docker build -t r0ht/skinsight .
- name: Run Snyk to check Docker image for vulnerabilities
continue-on-error: true
uses: snyk/actions/docker@14818c4695ecc4045f33c9cee9e795a788711ca4
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
image: r0ht/skinsight
args: --file=Dockerfile
# - name: Upload result to GitHub Code Scanning
# uses: github/codeql-action/upload-sarif@v2
# with:
# sarif_file: snyk.sarif