Issues

Get

Get full details for a single security issue by its ID. When remediation data exists, the response includes vulnerabilityPatch with the proposed fix payload (gitDiff, localBranch, prTitle, prDescription, prLink, pullRequestStatus, validated, timestamps, and error) as well as patchGenerationRequestView when patch generation is queued, running, failed, or completed. When runtime validation has tested the issue, the response includes the latest runtimeValidation verdict, reasoning, evidence, tested targets/roles, and runnable Python POC code when the agent confirmed exploitability.

post/api/v2/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

organizationIdstring
issueIdstring required

Response

Issue details

idstring required
issueStatus'PENDING_REVIEW' | 'REVIEWING' | 'PATCHING' | 'NON_EXPLOITABLE' | 'FALSE_POSITIVE' | 'ACCEPTED_RISK' | 'RESOLVED' | 'BACKLOG' | 'INFORMATIONAL' required
severitynumber nullable required
confidencenumber required
scorenumber nullable required
createdAtstring required
urlstring required
generatedTitlestring required
generatedDescriptionstring required
vulnClassstring required
vulnImpactstring nullable required
affectedFilestring required
cwesstring[] required
archivedAtstring nullable required
silencedAtstring nullable required
falsePositiveAtstring nullable required
noLongerDetectedAtstring nullable required
resolvedAtstring nullable required
noLongerDetectedReasonstring nullable required
unpatchableboolean nullable required
unpatchableReasonstring nullable required
unpatchableRemediationInstructionsstring nullable required
userNotesstring nullable required
validated'CONFIRMED' | 'DISCONFIRMED' | 'UNKNOWN' nullable required
validationSecurityAssessmentstring nullable required
nonExploitableReasonstring nullable required
falsePositiveReasonstring nullable required
silencedReasonstring nullable required
errorstring nullable required
stateChangeAuthorstring nullable required
prAllowedboolean required
canGeneratePatchesOnDemandboolean required
isPrBlockedboolean nullable required
languagestring nullable required
discoveryToolstring nullable required
cvssScorestring nullable required
cvssReasoningstring nullable required
vulnCategorystring nullable required
hasAssociatedPackageVulnerabilityboolean required
pocCodestring nullable required
pocCanBeCreatedboolean required
pocReasoningstring nullable required
linearIssueIdstring nullable required
linearIssueUrlstring nullable required
jiraIssueIdstring nullable required
jiraIssueUrlstring nullable required
jiraIssueTitlestring nullable required
sastCodeSegmentstring nullable
startLinenumber nullable required
endLinenumber nullable required
updatedAtstring required
attackStepsstring[] required
exploitationSetupstring required
hasClosePermissionboolean required

Whether this actor holds the close permission (ISSUE_EDIT_CLOSE) on the repository of this finding. Requesting a re-investigation (issues.requestInvestigation) needs it, because a definitive verdict closes the finding and its ticket.

Changes

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