Runtime Validation

Start runtime validation

Create a USER_REQUESTED runtime validation run for a READY application profile and a completed full scan from the same repository. Omit targetIssueIds for a full-application run, or pass ids returned by runtimeValidation.listEligibleIssues for a selected-issue run. The API rejects duplicate pending or processing runs for the same profile and scan.

post/api/v2/runtimeValidation/startValidation

Request

  • Base URL
    https://zeropath.com
  • Auth
    API key in header X-ZeroPath-API-Token-Id and API key in header X-ZeroPath-API-Token-Secret

Request body

organizationIdstring
profileIdstring required
codeScanIdstring required

Completed successful FullScan id from the same repository as the runtime validation profile.

targetIssueIdsstring[]

Optional active SAST issue ids to validate. Omit or pass an empty array to validate the full application.

Response

Created validation run

idstring required
profileIdstring required
codeScanIdstring required
status'PENDING' | 'PROCESSING' | 'COMPLETED' | 'FAILED' | 'CANCELLED' required

Queue and lifecycle status for a runtime validation run.

triggerReason'USER_REQUESTED' | 'AUTO_AFTER_SCAN' required

Why the validation run was created.

triggeredByUserIdstring nullable required
startedAtstring date-time nullable required
completedAtstring date-time nullable required
cancelledAtstring date-time nullable required
summarystring nullable required
createdAtstring date-time required
updatedAtstring date-time required

Changes

No recorded changes to this operation across all 1 revision of this API.