Try CLI snyk monitor #11
Workflow file for this run
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
name: Snyk Security Scan | |
on: "push" | |
# schedule: | |
# - cron: "15 * * * *" | |
# jobs: | |
# frontend-scan: | |
# name: frontend scan | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@master | |
# - run: cd frontend | |
# - name: Run Snyk to check for vulnerabilities | |
# uses: snyk/actions/node@master | |
# env: | |
# SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
# backend-scan: | |
# name: backend scan | |
# runs-on: ubuntu-latest | |
# steps: | |
# - uses: actions/checkout@master | |
# - run: cd backend | |
# - name: Run Snyk to check for vulnerabilities | |
# uses: snyk/actions/python@master | |
# env: | |
# SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
jobs: | |
security-scan: | |
name: security scan | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
- uses: snyk/actions/setup@master | |
- name: Snyk monitor | |
run: snyk test | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
# - name: Run Snyk to check for vulnerabilities | |
# uses: snyk/actions/node@master | |
# env: | |
# SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} |