snyk / snyk-nuget-plugin

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

feat: [OSM-712] `Directory.Build.props` support for V2 beta #183

Closed dotkas closed 11 months ago

dotkas commented 11 months ago

Early beta attempt at addressing https://github.com/snyk/snyk-nuget-plugin/issues/103.

It will only be supported by the --dotnet-runtime-resolution path of the CLI, as that is what we're betting on for the future as of now, since this already gives much better accuracy on the dependency graphs, as well as leverages the dotnet SDK itself.

This is mostly a confirmation that this path supports the build props route, by adding test fixtures to prove that. (Thanks to @azat-galiev)

Further, fixed a bug where projects that indeed did not have any dependencies caused the V2 logic to crash.

Something like 10k lines are just fixtures.

snyksec commented 11 months ago

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

The release is available on:

Your semantic-release bot :package::rocket: