Skip to content

Snyk Dependency Analysis #153

Snyk Dependency Analysis

Snyk Dependency Analysis #153

Workflow file for this run

name: Snyk Dependency Analysis
on:
workflow_dispatch:
schedule:
- cron: '0 10 * * 1'
jobs:
snyk-dependency-analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/maven@master
continue-on-error: true
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
command: test --package-manager=maven --file=pom.xml --severity-threshold=medium --maven-aggregate-project --sarif-file-output=snyk.sarif
- name: Upload result to GitHub Code Scanning
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: snyk.sarif