Preparing Files for Scanning with the Pipeline Scan

Veracode APIs

Run these commands to compute the SHA256 hash and the file size of the application files you want to upload and scan.

Compute SHA256 Hash

  • Windows: Powershell Get-Filehash
  • macOS: shasum -a 256 {full_path_to_file}
  • Linux: sha256sum {full_path_to_file}

Compute File Size

  • Windows: dir /{full_path_to_file}
  • macOS: stat -f %z {full_path_to_file}
  • Linux: stat -c %s {full_path_to_file}