Uploading File Segments to a Pipeline Scan

Veracode APIs

This use case scenario provides the Pipeline Scan REST API command for uploading file segments.

Use this command to upload file segments to a Pipeline Scan:

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

Repeat this command for each segment, incrementing the number after /segments/ and specifying the next fragment, for example:

  • /segments/1 and xab
  • /segments/2 and xac