update_asset
Update existing assets in a threat model by modifying attributes like name, type, classification, or lifecycle state. Supports batch updates for multiple assets simultaneously.
Instructions
Update an existing asset. Supports batch operations via the 'items' parameter.
This tool updates one or more existing assets in the system. For single item: provide id and fields to update directly. For batch: provide a list of asset dicts in the 'items' parameter (each must include 'id').
Args: ctx: MCP context for logging and error handling id: ID of the asset to update (required for single item mode) name: New name of the asset type: New type of the asset classification: New classification of the asset lifecycle_state: New lifecycle state of the asset description: New description of the asset owner: New owner of the asset sensitivity: New sensitivity level of the asset criticality: New criticality level of the asset metadata: New metadata for the asset items: Optional list of asset dicts for batch update
Returns: A confirmation message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| name | No | ||
| type | No | ||
| items | No | ||
| owner | No | ||
| metadata | No | ||
| criticality | No | ||
| description | No | ||
| sensitivity | No | ||
| classification | No | ||
| lifecycle_state | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |