Update plugin org.owasp.dependencycheck to v8.4.2 #268
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
# This workflow will scan a .NET project | |
# For more information see: https://devblogs.microsoft.com/nuget/how-to-scan-nuget-packages-for-security-vulnerabilities/#dotnet-cli | |
name: CVE Scanning for .NET | |
on: [push, pull_request] | |
jobs: | |
scan: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: 6.0.x | |
- name: Restore dependencies | |
run: dotnet restore | |
- name: Scan | |
run: dotnet list package --vulnerable --include-transitive | tee vulnerable.out | |
- name: Parse result | |
run: test `grep -cm 1 'has the following vulnerable packages' vulnerable.out` = 0 |