You can enable auto-scan to automatically scan any saved, successfully compiled file that is in focus in your IDE. If you select the Build Automatically option for Java projects, Veracode Greenlight automatically scans any file that is in focus in the IDE as soon as it saves.
When a scan is currently ongoing, Greenlight adds newly saved files to a queue in the order that they are saved.
The Veracode scan queue shows the priority in which Greenlight scans the files. The queue only shows automatically initiated scans because manually initiated scans always take precedence. The scans in the queue occur 30 seconds apart as long as the files compile successfully. When a file does not compile, a message appears in the log file and Greenlight does not scan the file.
- In IntelliJ, select .
- Select to automatically start a Greenlight scan when you open or save a file.