OpenAI is partnering with Hacktron to find vulnerabilities in its systems. Read the announcement.

Skip to content Hacktron Sign in [S]
Hacktron Sign in [S] Customers Docs Contact Sign in

Get a finding's remediation

1 min
, View, ChatGPT, Claude, Perplexity, OpenAPI

Copy page

Get a finding's remediation

View MarkdownOpen in ChatGPTOpen in ClaudeOpen in PerplexityDownload OpenAPI

Returns the latest Remediation run for a finding, or null in remediation when no fix was ever started. Use the finding’s UUID or display id.

status is dispatched while Hacktron writes the fix, pr_created once pr_url is set, or fix_ready when the fix is ready in Hacktron without a pull request. A run that ended without a fix has the reason in failure_reason.

Request

GET /findings/{id}/remediation

Send an API key with the read scope in the X-Api-Key header.

Path parameters

ParameterDescription
id
string, required
Finding UUID or display id (KEY-FD-NUMBER, e.g. HAC-FD-1104).

Responses

200 OK

FieldDescription
remediation
object, required, nullable
The finding’s latest run; null when no fix was ever started.
remediation.id
string (uuid), required
Run id.
remediation.finding_uuid
string (uuid), required
Finding the run fixes.
remediation.status
string, required
dispatched while the fix is generated; pr_created when its pull request is open; fix_ready when the fix is ready in Hacktron without a pull request; no_fix, false_positive, failed, or stopped_cap_exceeded when the run ends without a fix; pr_closed when the finding was fixed some other way.
remediation.pr_url
string, required, nullable
The fix pull request, once it is open.
remediation.failure_reason
string, required, nullable
Why the run failed or found no fix.
remediation.created_at
string, required
When the run started.
remediation.url
string, required
The run in Hacktron.
[↓] [↑] [enter] to visit
Menu
[M]
Next in menu
[J]
Previous in menu
[K]
Find
[F]
Ask
[A]
Sign in
[S]
Copy page
[C]
Listen
[L]
Justification
[R]
Language
[G]
Dark mode
[D]
High contrast
[H]
Shortcuts
[I]
Close
[Esc]