Scan with Veracode Greenlight for Android Studio

Veracode Greenlight

The Veracode Greenlight for Android Studio plugin requires compilable Java files that successfully built into Java class files. If you are unable to scan with Greenlight for Android Studio, ensure you have a Java class file built for the Java file you want to scan.

To perform this task, you must have the Greenlight IDE User role.

Before you scan, Veracode recommends that you select Build Automatically for your project in the Project menu, and you have resolved any blocking build errors. A scan times out after one minute if there are any issues.

Note: You can submit a package that contains both Java and JavaScript files, but only the Java files are scanned and the JavaScript files are ignored. You can either scan the JavaScript files one by one, or move them to a folder that only contains JavaScript files, which you can then submit for scanning.

To start a Veracode Greenlight scan:

  1. Open the project and select the file you want to scan.
    Note: You cannot scan at the source (src) level in the Project view. You can only scan below the source level. To scan package files, you must be in the Project or Android explorer view.
  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.