Scan with Veracode Greenlight for IntelliJ

Veracode Greenlight

The Veracode Greenlight for IntelliJ plugin requires compilable Java files that successfully built into Java class files. If you are unable to scan with Greenlight for IntelliJ, ensure you have a Java class file built for the Java file you want to scan. Veracode recommends that you have selected Build Automatically for your project in the Project menu, and you have resolved any blocking build errors before you scan. A scan times out after one minute if there are any issues.

Starting a Scan

To start a Veracode Greenlight scan:

  1. Open the project and select the Java file you want to scan.
  2. Click Tools > Veracode Greenlight > Scan with Greenlight. Alternatively, you can click the green V icon in the menu bar or use the shortkey Ctrl+Shift+G.

Auto-Scans

If you have selected the Build Automatically option for projects, Veracode Greenlight automatically scans any file that is in focus in the IntelliJ IDE as soon you save the file. This option is the Veracode Greenlight auto-scan feature, which you can supplement with scans that you manually start at any time. Scans that you start yourself take precedence over auto-scans. When a scan is currently ongoing, newly saved files are added to a queue in the order that you save them. A new auto-scan is never initiated while another scan, whether it is an auto-scan or one you started yourself, is already running.

To verify if the auto-scan feature is active for your account, go to Tools > Veracode Greenlight and check if Auto-Scan is selected.