You can enable auto-scan to have Veracode Greenlight automatically scan any file that is in focus in your IDE as soon a you save it, as long as the file compiles successfully.
If you have selected the Build Automatically option for projects, Greenlight automatically scans any file that is in focus in the Android Studio IDE as soon as you save the file. This option is the 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 Auto-Scan is selected.and check if