Create a Dynamic Analysis of a Single URL with Prescan Verification Using the REST API
You can use the Dynamic Analysis API to create an analysis with prescan verification.
Before you begin:
To be able to run a prescan verification before the Dynamic Analysis, you must allow two hours for the prescan to complete before you schedule the analysis to begin.
To complete this task:
Enter values for the
scheduleproperties in the JSON file.
Run this command:
http --auth-type=veracode_hmac POST "https://api.veracode.com/was/configservice/v1/analyses?run_verification=true" < input.json
run_verification=truequery property specifies that the prescan run after the command creates the analysis.note
If your prescan verification fails, the Dynamic Analysis also fails.
This is an example of a Dynamic Analysis for a single URL with prescan:
You can call
GET /analysesto see the status of your analyses.