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}"

Obtain the scan_id from the response 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. Retrieve available results if the scan_status value is "SUCCESS".