Obtaining Pipeline Scan Details with the REST API

Veracode APIs

This use case scenario provides the Pipeline Scan REST API command for obtaining scan details.

Use this command to obtain the scan details:

http --auth-type=veracode_hmac "https://api.veracode.com/pipeline_scan/v1/scans/{scan_id}"

You obtain the scan_id from the results of the POST to the /scans endpoint as described in Configuring a Pipeline Scan with the REST API.

This command checks the status of a running scan. If the scan_status value is "SUCCESS", you can retrieve available results.