Skip to content

Commit

Permalink
Execute vulnerability
Browse files Browse the repository at this point in the history
  • Loading branch information
semalaiappan committed Feb 19, 2024
1 parent 9956f0f commit 6859afb
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,11 @@ jobs:
- name: Execute vulnerability
working-directory: ./Ed-Fi-ODS/
run: |
$slnFiles = Get-ChildItem -Path . -Filter "*.sln" -Recurse | Where-Object { $_.Name -ne "EdFi.ProjectTemplates.sln" }
$slnFiles = Get-ChildItem -Path . -Filter "*.sln" -Recurse
##| Where-Object { $_.Name -ne "EdFi.ProjectTemplates.sln" }
foreach ($file in $slnFiles) {
dotnet restore $file.FullName| Out-Null
dotnet restore $file.FullName
dotnet list $file.FullName package --vulnerable 2>&1 | Tee-Object -FilePath "build.log" -Append | Out-Null
}
Expand Down

0 comments on commit 6859afb

Please sign in to comment.