Edit Asset
edit_assetUpdate an existing threat-model asset's name, description, security properties, factor ratings, or notes. Only the fields you provide change, and identity edits are checked before saving.
Instructions
Edit an existing asset. Only provided fields changed.
When changing identity fields, hold to the asset authoring
contract: name the data/resource protected and its security
property, not a mechanism — otherwise the result is flagged with a
quality_warning (see add_asset). There is no status field to
set.
The composed impact is server-derived from the factor fields;
there is no way to set it directly. To change the rating, set
factor values (the platform composes the new rating) and supply
change_reason documenting the operator override of the
LLM-generated factors. The reason is captured in the
rating-revision audit trail. Over a rating held pending
(rating_pending on get_entity), a factor edit settles the pair
with the rating it sets, a judgment (rating_reconfirmed) a program
makes only under a delegation rule, else parked whole for a person.
New words (name, description, security properties) are rated for: one
rating call, at your cost; a rating a person chose is kept and the new
one held pending beside it. Adopting a quality check's advice is
your own edit of the words, stated with its change_reason.
LLM-gated on identity-bearing fields (name, description, security_properties). Factor and notes edits skip the gate.
Outcomes when identity fields change:
Accepted edit (LLM classifies as
preserve) —{model, entities, controls_carried, ...}: the model's id, version and title, and the asset as it now stands.Rejected edit (LLM classifies as
replace/ambiguous) —{"accepted": False, ...}; nothing saved. Soft-delete + add-new instead.
Editing a soft-deleted asset is rejected — restore_entity (entity_type="asset")
first. 503 on evaluator outage or when the rating call for new words
fails (nothing saved), 502 on malformed response, 400 when factor
fields are sent without change_reason, 409 when the model changed
since it was read (read it again and send the edit again).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name (optional). | |
| notes | No | New notes (optional). | |
| asset_id | Yes | ID of the asset (e.g., "A1"). | |
| model_id | Yes | ID of the threat model. | |
| description | No | New description (optional). | |
| blast_radius | No | "Isolated" | "Multiplicative" | "Cascading". | |
| change_reason | No | Required when any factor field is supplied — documents the operator override of LLM-generated factors for the audit trail. | |
| recoverability | No | "Trivial" | "Manageable" | "Permanent". | |
| server_version | Yes | ||
| usage_subscore | No | "None" | "Low" | "High". | |
| impact_rationale | No | New rationale (optional). | |
| regulatory_scope | No | "None" | "Notification" | "Legal". | |
| integrity_subscore | No | "None" | "Low" | "High". | |
| security_properties | No | Comma-separated properties (optional). | |
| availability_subscore | No | "None" | "Low" | "High". | |
| confidentiality_subscore | No | "None" | "Low" | "High". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||