Security Compass

Push the latest scan to SD Elements

Enqueue a findings push of the mapped repository's most recent finished full scan to its SD Elements project, re-running it if that scan was pushed before — use it after changing the task status mapping, or when the mapping was created after the scan. Returns status 'enqueued' with the scan id (the push runs in the background; poll securityCompass.getIntegration for lastPushAt / lastPushStatus) or 'no_scan' when the repository has no finished full scan. Fails with 409 while a push of that scan is already running and with 412 when the integration is disabled.

post/api/v2/securityCompass/pushLatestScan

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 required

Organization that owns the integration.

mappingIdstring required

cuid of the project mapping whose repository to push.

Response

Enqueue result

OR

Changes

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