
MHood176320 (Community Member) asked a question.
I am automating the Veracode scanning process at my company by creating an azure pipeline for Veracode. This pipeline first builds our solution, then copies only the files wanted to be scanned into a folder. This folder is then zipped and passed into the Upload and Scan task.
I noticed when this scan is run it will automatically select only the modules used in the previous scan ('Previous Selection' option). Instead, I want it to always select the "Veracode Default" option. The scans for our code will not always need exactly the same modules and I want to make this process automated without needing to manually change what modules are selected in the Veracode api each time the chosen modules are changed.
Does anyone know if there is a setting for this, a CLI option, or some other way to effectively do this
TLDR; I create a folder with exactly what modules I want scanned. How can I tell Veracode to always select every module from the folder for scanning from azure pipeline
.png)
hello @MHood176320 (Community Member)
You can try using an Optional Arguments and declaring the flag --include and the modules (like DLLs) to include as part of your scan. Its possible to declare value of this flag paramater as "wildcard" informing what exactly do you want provide on scans
see the paramaters of upload and scan, specially include in documentation:
https://docs.veracode.com/r/r_uploadandscan