From 6859afb87edde4fff4ff0d0356f3da52e78461e3 Mon Sep 17 00:00:00 2001 From: "m.semalaiappan" Date: Mon, 19 Feb 2024 09:20:32 -0600 Subject: [PATCH] Execute vulnerability --- .../Security Vulnerability Check on Release Tags.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Security Vulnerability Check on Release Tags.yml b/.github/workflows/Security Vulnerability Check on Release Tags.yml index 9900d8e684..e9f3bda8d2 100644 --- a/.github/workflows/Security Vulnerability Check on Release Tags.yml +++ b/.github/workflows/Security Vulnerability Check on Release Tags.yml @@ -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 }