Skip to content

owasp

owasp #4

name: OWASP Dependency Check (.NET)
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
dependency-check:
name: Scan dependencies
runs-on: ubuntu-latest
steps:
- name: Install Dependency-Check
run: |
VERSION=$(curl -s https://dependency-check.github.io/DependencyCheck/current.txt)
wget https://github.com/jeremylong/DependencyCheck/releases/download/v$VERSION/dependency-check-$VERSION-release.zip
unzip dependency-check-$VERSION-release.zip
- name: Run scan
run: |
./dependency-check-$VERSION-release/bin/dependency-check.sh \
--project "cas-dotnet-sdk" \
--scan . \
--format "HTML" \
--out reports