Start a Pipeline Scan with the REST API
Send the following request to start a Pipeline Scan:
http --auth-type=veracode_hmac PUT "https://api.veracode.com/pipeline_scan/v1/scans/{scan_id}" < input.json
Obtain the scan_id
from the response of the POST to the /scans
endpoint as described in Configure a Pipeline Scan with the REST API.
The API passes the JSON file that you populate with the necessary values as shown in this example payload:
{
"scan_status": "STARTED"
}