Issues

Get issue

post/api/v1/issues/get

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

issueIdstring required
organizationIdstring

Response

Successful response

idstring required
repositoryIdstring required
repositoryNamestring
status'open' | 'patched' | 'falsePositive' | 'notExploitable' | 'archived' | 'silenced' required
issueStatus'PENDING_REVIEW' | 'REVIEWING' | 'PATCHING' | 'NON_EXPLOITABLE' | 'FALSE_POSITIVE' | 'ACCEPTED_RISK' | 'RESOLVED' | 'BACKLOG' | 'INFORMATIONAL'
generatedTitlestring required
generatedDescriptionstring required
businessLogicScenariostring
languagestring required
vulnClassstring required
cwesstring[] required
vulnCategory'SAST' | 'SCA' | 'IAC' | 'SECRETS' | 'SMART_CONTRACT' required
severitynumber nullable required

Raw severity (0-10); null when no severity was ever measured for the finding, e.g. a dependency advisory with no CVSS score.

confidencenumber
scoreinteger nullable

Composite ZeroPath score (0-100, severity x confidence); null when no severity was ever measured for the finding. Such a finding belongs to no score band.

discoveryToolstring required
codeScanIdstring required
affectedFilestring required
sastCodeSegmentstring required
startLineinteger required
endLineinteger required
startColumninteger
endColumninteger
isPrBlockedboolean required
validated'CONFIRMED' | 'DISCONFIRMED' | 'UNKNOWN' nullable
validationSecurityAssessmentstring nullable
unpatchableboolean nullable
unpatchableReasonstring nullable
unpatchableRemediationInstructionsstring nullable
archivedAtstring date-time nullable
noLongerDetectedAtstring date-time nullable
noLongerDetectedReasonstring nullable
createdAtstring date-time required
updatedAtstring date-time required
naturalLanguageRuleEvaluationIdstring nullable

ID of the natural language rule evaluation that found this issue (if applicable)

naturalLanguageRuleViolationIdstring nullable

ID of the natural language rule violation that found this issue (if applicable)

stateChangeAuthorstring
falsePositiveReasonstring nullable
falsePositiveAtstring date-time nullable
scaVulnerabilityAlertingGroupIdstring nullable

ID of the SCA vulnerability alerting group that created this issue (if applicable)

urlstring required

URL to view the issue in the ZeroPath UI

Changes

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