update_flow
Update existing asset flows in a threat model, modifying properties like source, destination, controls, and risk level. Supports batch updates via the items parameter.
Instructions
Update an existing asset flow. Supports batch operations via the 'items' parameter.
This tool updates one or more existing asset flows in the system. For single item: provide id and fields to update directly. For batch: provide a list of flow dicts in the 'items' parameter (each must include 'id').
Args: ctx: MCP context for logging and error handling id: ID of the flow to update (required for single item mode) asset_id: New ID of the asset being transferred source_id: New ID of the source component or trust zone destination_id: New ID of the destination component or trust zone transformation_type: New type of transformation applied to the asset controls: New list of security controls applied to the flow description: New description of the flow protocol: New protocol used for the flow encryption: New encryption status authenticated: New authentication status authorized: New authorization status validated: New validation status risk_level: New risk level of the flow (1-5) items: Optional list of flow dicts for batch update
Returns: A confirmation message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| items | No | ||
| asset_id | No | ||
| controls | No | ||
| protocol | No | ||
| source_id | No | ||
| validated | No | ||
| authorized | No | ||
| encryption | No | ||
| risk_level | No | ||
| description | No | ||
| authenticated | No | ||
| destination_id | No | ||
| transformation_type | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |