Skip to content

Update parts of an AKR by numeric ID.

PATCH
/v1/risks/akr/{akr_id}

AKRs can’t accept tags (they have no tag relation). Tag fields in the payload are rejected.

akr_id
required
integer format: int64

Numeric AKR ID (e.g. 1 for AKR-00001)

Example
1

PATCH /risks/:id

object
assigned_to
string | null format: uuid
closed_date
string | null format: date-time
control_statement
string | null
description
string | null
discovered_date
string | null format: date-time
expected_date
string | null format: date-time
impact
One of:
null
impact_reasoning
string | null
initially_reported_urgency
One of:
null
likelihood
One of:
null
likelihood_reasoning
string | null
remediation_task
string | null
source
string | null
status
One of:
null
tags
array | null
threat_objectives
array | null

A relational struct that has a threat objective type and its relevancy to a risk.

PartialEq, Eq, and Hash are implemented manually to exclude created_date, which is metadata about when the relation was mutated — not part of the identity.

object
created_date

The time that this relation was mutated

string | null format: date-time
relevance
One of:
null
threat_objective
required

The threat objective type

string
Allowed values: Sabotage Data Disclosure Extortion Customer Targeting Resource Hijacking Fraud
title
string | null
type
One of:
null

Key risk updated successfully

Register row for Adversarial Key Risks (AKRs). A KeyRisk plus the relational data shown on the AKR register: threat objectives, incident associations, and comment count. AKRs cannot be tagged.

object
comments
required
integer format: int64
incident_associations
required
Array<string>
Example
INC-00001
key_risk
required

The core view of an Adversarial Key Risk (AKR).

Relational data — threat objectives, comments, and incident associations — is exposed on KeyRiskRegisterEntry, not here.

object
assigned_to
One of:
null
closed_date
string | null format: date-time
control_statement
string | null
created_date
required
string format: date-time
description
required
string
discovered_date
required
string format: date-time
due_date
string | null format: date-time
expected_date
string | null format: date-time
id
required
string
Example
AKR-00001
impact
One of:
null
likelihood
One of:
null
remediation_task
string | null
status
required

The status of a risk

string
Allowed values: New Urgency Proposed Remediation Closure Proposed Closed
title
required
string
type
required
string
Allowed values: Code Configuration Control Deficiency Policy Procedural Vulnerability Third-party
updated_date
required
string format: date-time
urgency
One of:
null
threat_objectives
required
Array<object>

A relational struct that has a threat objective type and its relevancy to a risk.

PartialEq, Eq, and Hash are implemented manually to exclude created_date, which is metadata about when the relation was mutated — not part of the identity.

object
created_date

The time that this relation was mutated

string | null format: date-time
relevance
One of:
null
threat_objective
required

The threat objective type

string
Allowed values: Sabotage Data Disclosure Extortion Customer Targeting Resource Hijacking Fraud

Validation failed (e.g. empty payload, unknown source, inactive assignee, tags rejected)