NuGetDefense icon indicating copy to clipboard operation
NuGetDefense copied to clipboard

NuGetDefence.lib: json report file not showing the list fo vulnarable packages

Open chiluap opened this issue 1 year ago • 0 comments

After scanning the json report file does show the number of affected packages, but the list of issues is empty.

To Reproduce Steps to reproduce the behavior:

  1. scan a project with issues configuring json repotfile:
{
 "VulnerabilityReports": {
    "OutputTextReport": false,
    "JsonReportPath": "./TestResults/DependencyErrors.json"
  }
}
  1. the repotfile looks like this:
{
  "VulnerabilitiesCount": 11,
  "Packages": []
}

Expected behavior Packages array to not be empty.

chiluap avatar Aug 28 '23 08:08 chiluap