Scan a File Using Veracode for VS Code

IDEs

You can scan source files using Veracode for VS Code.

About this task

To start a Veracode Greenlight scan:

Procedure

  1. Click Open Folder from the Visual Studio Code Explorer menu.
    Note: To avoid caching issues, do not attempt to initiate a scan of a file which had already been opened in the editor. Veracode recommends that you close the opened files and always re-open a folder from activity bar.
  2. Select a file from the folder.
  3. Choose one of these options to start the scan:
    • Click the V icon .
    • Use the shortkey, Ctrl+Shift+\.
    • Right-click the file and select Scan with Greenlight from the dropdown menu.
    • Open the Command Palette and enter the Scan with Greenlight command.