Veracode Greenlight automatically scans any file that is in focus in Visual Studio as soon as it is saved, as long as the file compiles successfully.
This Veracode Greenlight auto-scan feature provides automation in addition to any scans you want to start yourself at any time. Scans that you start yourself take precedence over auto-scans. When a scan is ongoing, newly saved files are added to a queue in the order that they are saved. A new auto-scan is never initiated while another scan, whether it is an auto-scan or one that you started yourself, is already running. If multiple files are saved at the same time, or a new file is saved before the existing queue is emptied, the files are added to the queue.
To verify if the auto-scan feature is active for your account, go to
Veracode Greenlight and check if Auto-Scan is enabled.