Skip to main content
POST
Approve a security fix merge

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

application_id
string
required
run_id
string
required

Body

application/json
head_sha
string
required

The head commit the person reviewed and approves.

Response

The fix as it now stands: merged, or merging when the merge train holds it

One security fix pull request of the application and the remediation run that follows it. review is filled once Ankra answers the AI review of the head (state none until then); merge.mode is when_green only when the application's keep_it_safe choice is a stored Ankra runs it in every environment it runs in; merge.state and merge.reason are the merge lane's last decision, and can_approve is true only for a caller holding security.manage and the merge authority while the fix is green and waiting for a person.

attempts
integer
required
checks
object
required
created_at
string<date-time>
required
findings
object[]
required
id
string<uuid>
required
kind
enum<string>
required
Available options:
image_rebuild,
base_image_proposal,
dependency_bump
max_attempts
integer
required
merge
object
required
pull_request
object
required
review
object
required
started_by
object
required
status
enum<string>
required
Available options:
working,
verifying,
verified,
needs_human,
uncertain,
failed,
cancelled
status_reason
string
required
title
string
required
updated_at
string<date-time>
required