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.

Headers

X-ZeroPath-API-Token-IdstringRequired
X-ZeroPath-API-Token-SecretstringRequired

Request

This endpoint expects an object.
organizationIdstringOptional
pageintegerOptional>=1Defaults to 1
pageSizeintegerOptional>=1Defaults to 10
searchQuerystringOptional
severitiesobjectOptional
sortByenumOptionalDefaults to score
Allowed values:
sortOrderenumOptionalDefaults to desc
Allowed values:
languageslist of stringsOptional
vulnerabilityClasseslist of stringsOptional
repositoryIdslist of stringsOptional
projectIdstringOptional
scanIdstringOptional
codeScanTypeslist of enumsOptional
Allowed values:
typeslist of enumsOptional
Allowed values:
getCountsbooleanOptional
returnAllbooleanOptional
ruleIdstringOptional

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

Response

Successful response
issueslist of objects or null
totalCountinteger or null
categoryCountsobject or null
currentPageinteger or null
pageSizeinteger or null

Errors