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.

Scopes

vulnerabilities:write

Path Parameters

vulnerabilityId
string
required

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

Body

application/json
url
string<uri>
required

Pull request or merge request URL.

Example:

"https://github.com/acme/web/pull/17"

Response

Pull request linked. ticket_links reports the attachment to the finding's tickets.

url
string
required

Canonical form of the URL.

additional_fix_pr_urls
string[]
required

Additional pull requests stored on the finding after the change.

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