Skip to content

Commit

Permalink
Add Snyk Code scanning
Browse files Browse the repository at this point in the history
  • Loading branch information
mpogr committed Sep 3, 2024
1 parent e20d8a5 commit 0638a09
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/Scan-with-Snyk-and-Monitor.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Scan with Snyk and Monitor
name: Scan Open Source with Snyk and Monitor
on: push
jobs:
security:
Expand Down
14 changes: 14 additions & 0 deletions .github/workflows/Scan-with-Snyk-code.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Scan Open Source with Snyk and Monitor
on: push
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for SAST vulnerabilities
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --all-projects --severity-threshold=critical
command: code

0 comments on commit 0638a09

Please sign in to comment.