edit_asset
Modify an existing asset's properties, including name, description, security attributes, and risk factors. Factor updates require a change reason for audit; identity changes are verified by LLM to ensure consistency.
Instructions
Edit an existing asset. Only provided fields changed.
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.
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) — normal envelope response.Rejected edit (LLM classifies as
replace/ambiguous) —{"accepted": False, ...}; nothing saved. Soft-delete + add-new instead.
Editing a soft-deleted asset is rejected — restore_asset
first. 503 on evaluator outage, 502 on malformed response, 400
when factor fields are sent without change_reason.
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 | |||