Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

API token obtained from the Tokens endpoint or CLI device login. Include as Authorization: Bearer <token>. Requests made with a managed CLI session also include X-Strix-Workspace: <organization_id> to pin a process to the workspace it started in; recovery endpoints report the current workspace after a concurrent switch.

Path Parameters

vulnerabilityId
string
required

ID of the vulnerability. Use the id field of a finding from listVulnerabilities.

Response

Fix PR created. When the finding (or a dependency finding it covers) has a Linear or Jira ticket, the branch name carries the ticket key, the body links the ticket, and Strix attaches the pull request to the ticket. ticket_links reports that attachment.

pr_url
string
required
pr_number
integer
required
branch
string
required

Result of attaching the pull request to the findings' tickets. Every list is empty when no finding has a ticket.