Issues

Search issues

Search for security issues across your repositories. You can filter by various criteria including custom rule ID.

To find all issues detected by a specific custom rule, include the ruleId parameter in your request.

post/api/v1/issues/search

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
pageinteger
pageSizeinteger
searchQuerystring

Free-text filter matched against issue title, vulnerability class, and affected file path. A query that looks like an issue id — hex digits and dashes only, at least 4 hex digits — also matches the issue id as a prefix, so the full UUID, the short 8-character issue id, and any longer prefix all find the issue. Dashes and surrounding whitespace are ignored for id matching.

sortBy'createdAt' | 'severity' | 'score' | 'title' | 'class' | 'file' | 'detected' | 'patch'
sortOrder'asc' | 'desc'
languagesstring[]
vulnerabilityClassesstring[]
repositoryIdsstring[]
projectIdstring
scanIdstring
codeScanTypesstring[]
typesstring[]
statusstring[]

Filter issues by issue status

getCountsboolean
returnAllboolean
ruleIdstring

Filter issues by custom rule ID - returns only issues that were found by the specified custom rule

Response

Successful response

totalCountinteger
totalCountAllCategoriesinteger
currentPageinteger
pageSizeinteger

Changes

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