Scan a Folder Using Veracode for VS Code

Veracode Greenlight

You can run a Greenlight scan on all source files in a folder from within VS Code.

Before You Begin

You meet the Greenlight prerequisites.

Steps

  1. Click Open Folder from the Visual Studio Code Explorer menu.

    Note: To avoid caching issues, do not scan a file that is already open in the editor. Close the open files and re-open a folder from the activity bar.

  2. Select the folder.

  3. Choose one of these options to start the scan:

    • Click the V icon.
    • Use the shortkey, Ctrl+Shift+\.
    • Right-click the folder and select Scan with Greenlight.
    • Open the Command Palette and enter Veracode: Scan with Greenlight.