For the complete documentation index, see llms.txt. This page is also available as Markdown.

OX IDE Extension for Visual Studio

About OX IDE Extension for Visual Studio

The OX IDE Extension for Visual Studio detects security issues in your code directly within Microsoft Visual Studio. It connects to the OX Security platform, allowing you to run scans, review detected issues, and access remediation recommendations without leaving your IDE.

Each detected issue is linked to the affected code, helping you locate and resolve security issues during development.

Supported IDEs

Visual Studio 2022 and later, including Community, Professional, and Enterprise editions.

Prerequisites

Before installing the extension, make sure you have:

  • Visual Studio 2022 or later.

  • An OX Security account with API access.

  • An OX API key. For more information, see Creating API keys.

Step 1: Install the OX IDE Extension

You can install the extension from the Visual Studio Marketplace or manually using a VSIX file.

Installing from Visual Studio Marketplace

To install the extension:

  1. Open Visual Studio.

  2. Go to Extensions > Manage Extensions.

  3. Select Browse.

  4. Search for OX Security.

  5. Select the OX Security extension and click Install.

  1. Close Visual Studio to allow the VSIX Installer to complete the installation.

  2. If prompted, click Modify.

  3. Restart Visual Studio.

After installation, the OX Security extension is available in Visual Studio.

Alternative: Manual installation

If the extension is not available through the Visual Studio Marketplace, install it manually using a VSIX file.

To install the extension manually:

  1. Download the OX Security extension .vsix file.

  2. Close Visual Studio.

  3. Double-click the downloaded .vsix file.

  4. In the VSIX Installer, click Install.

  5. Start Visual Studio.

Step 2: Configure the extension

Connect the extension to your OX Security environment using an API key.

To configure the extension:

  1. In Visual Studio, go to Extensions > OX Security.

  2. Set the API Host to your OX Security environment.

  1. Enter your OX API key.

  1. (Optional) Configure additional settings, such as telemetry.

  2. Select Save.

The extension is now ready to scan your code.

Step 3: Run a security scan

Run a security scan to identify security issues in your code directly from Visual Studio.

To run a scan:

  1. Open your project in Visual Studio.

  2. In the OX Security area, click Scan.

The scan starts, and the results appear in the OX Security extension when the scan completes.

Step 4: Review scan results

The OX Security extension displays detected security issues and provides information to help you investigate and remediate them.

Each issue includes the following information:

Field
Description

Severity

The severity level of the detected issue.

Description

A summary of the detected security issue.

Category

The category of the security issue.

Code reference

A reference to the affected code line.

Suggested fix

Recommendations for remediating the issue.

To review an issue:

  1. In the scan results, select the issue you want to investigate.

  2. Review the issue details and remediation recommendations.

  3. Use the code reference to navigate to the affected code in Visual Studio.

Last updated