Skip to content
SEO Optimizer is live, Audit on page SEO and AI-search readiness. Try it free
Scanverra
VS Code Extension

Guides

VS Code extension

Scan your workspace from inside VS Code. Findings show up in the editor, the Problems panel and the Scanverra sidebar, and your code never leaves your machine.

Requires VS Code 1.85 or newer, and a Pro, Team or Enterprise plan.

Install

The extension is published on the Visual Studio Marketplace as Scanverra.

  1. Open the Extensions view (Ctrl+Shift+X, or Cmd+Shift+X on macOS).
  2. Search for Scanverra and click Install.
  3. A shield icon appears in the Activity Bar. That is the Scanverra view.

Or paste this into Quick Open (Ctrl+P, or Cmd+P on macOS)

ext install scanverra.scanverra-vscode

Log in

Scans need a Scanverra API key. Create one in your dashboard under API Keys.

  1. Open the Scanverra view. If you are not logged in, it shows a login card.
  2. Paste your API key and click Save API key. The key is checked with Scanverra before it is saved.
  3. You can also run Scanverra: Log In with API Key from the Command Palette.
Shared with the CLI

The extension and the Scanverra CLI use the same saved login. If you already ran scanverra login, the extension is logged in too, and logging in from VS Code logs the CLI in as well.

Logging out

Click Log out in the Scanverra view, or run Scanverra: Log Out. This removes the saved key for both the extension and the CLI on this machine.

Scan your workspace

  1. Open a folder in VS Code.
  2. Click Scan Workspace in the Scanverra view, click the shield in the status bar, or run Scanverra: Scan Workspace.
  3. Findings appear as squiggles in the editor and in the Problems panel, and are grouped by file in the sidebar.
  4. Use the severity chips and the search box to narrow the list, then click View to jump to a finding or Fix to read the suggested fix.
  5. Click Clear to dismiss the results.

How it works

Inline diagnostics

Each finding is shown on its line in the editor and listed in the Problems panel.

Triage sidebar

Score, quality gate, severity filters, findings by file, and dependency vulnerabilities in a separate tab.

Scans locally

The same engine as the CLI. Files are read and checked on your own machine.

Remembers the last scan

Results are kept per workspace, so they are still there after you restart VS Code.

Commands

All commands are available from the Command Palette (Ctrl+Shift+P, or Cmd+Shift+P on macOS).

CommandDescription
Scanverra: Scan WorkspaceScan the open folder and show the results
Scanverra: Clear Scan ResultsRemove the findings from the editor and the sidebar
Scanverra: Open Full ViewOpen the results in a full editor tab
Scanverra: Log In with API KeyPaste and verify an API key
Scanverra: Get an API KeyOpen the API Keys page in your browser
Scanverra: Log OutRemove the saved API key

What leaves your machine

Your code stays local

The extension downloads the signed scanner rules from Scanverra, verifies them, and runs every check on your machine. It never uploads your files, matched code lines or a report. Only the API key is sent, to check your account and plan.

Current limitations

  • Scans run when you ask for them. There is no scan-on-save yet.
  • Findings are highlighted on the whole line, not a specific column.
  • In a multi-root workspace, only the first folder is scanned.

Troubleshooting

MessageWhat to do
Log in to ScanverraPaste an API key in the Scanverra view, or run Scanverra: Log In with API Key
That API key was rejectedThe key is wrong or was revoked. Create a new one under API Keys
Your saved API key was rejectedThe saved key no longer works. Paste a new one in the login card
Requires a Pro, Team or Enterprise planUpgrade your plan, then scan again
Open a folder to scanOpen a folder with File > Open Folder, then scan
No scannable files foundCheck the folder and your .gitignore or .scanverraignore

Ready to scan from your editor?

Create an API key, install the extension, and run your first scan.