Visual Studio extension
The Snyk Visual Studio extension provides analysis of your code and open source dependencies.
Snyk scans for vulnerabilities and returns results with security issues categorized by issue type and severity.
For open source, you receive automated algorithm-based fix suggestions for both direct and transitive dependencies.
This single plugin provides a Java vulnerability scanner, a custom code vulnerability scanner, and an open-source security scanner.
Snyk scans for the following types of issues:
This page explains installation of the Visual Studio extension. After you complete the steps on this page, you will continue by following the instructions in the other Visual studio extension docs:
The following are also available:
Supported languages, package managers, and frameworks
Install the extension
You can install the Snyk extension directly from the IDE; open Extensions > Manage Extensions.
Search for Snyk and select Download to download the Snyk Security - Code and Open Source Dependencies extension.
Once installed, use Snyk through the Extensions > Snyk menu (on Visual Studio versions older than 2019, Snyk is part of the top menu bar).
You can also open the Snyk tool window using View > Other Windows > Snyk.
Once the tool window opens, wait while the Snyk extension downloads the latest Snyk CLI version.
After you install the extension and the CLI you must authenticate. You can use the Connect Visual Studio to Snyk link. For more information and additional ways to authenticate see Visual Studio extension authentication.
If you need help, submit a request to Snyk Support.