snyk / snyk-nuget-plugin

Basic Snyk CLI plugin for .NET support.
Other
5 stars 14 forks source link

feat: [OSM-347] Enable override with `--target-framework` if specified for `v2` logic #170

Closed dotkas closed 1 year ago

dotkas commented 1 year ago

Following https://github.com/snyk/snyk-nuget-plugin/pull/169, this PR enables a user to define which of the defined <TargetFrameworks> they wish to scan, by supplying the command line argument --target-framework.

This PR exists for two reasons:

  1. Pave the path to enabling this plugin to scan all defined <TargetFrameworks> automatically, or individually if the user wishes to (though only the latter works now) and
  2. Enable the SCM v2 solution to pass along a single TargetFramework even if multiple are defined in the manifest file, to help optimize the parallelization of the requests optimally.
snyksec commented 1 year ago

:tada: This PR is included in version 1.34.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: