update_mitigation
Update existing mitigations in your threat model, individually or in batch, by specifying fields like content, status, cost, and effectiveness.
Instructions
Update an existing mitigation. Supports batch operations via the 'items' parameter.
This tool updates one or more existing mitigations in the threat model. For single item: provide id and fields to update directly. For batch: provide a list of mitigation dicts in the 'items' parameter (each must include 'id').
Args: ctx: MCP context for logging and error handling id: ID of the mitigation to update (required for single item mode) content: New content of the mitigation type: New type of the mitigation status: New status of the mitigation implementation_details: New implementation details of the mitigation cost: New cost of the mitigation effectiveness: New effectiveness of the mitigation metadata: New metadata for the mitigation items: Optional list of mitigation dicts for batch update
Returns: A confirmation message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| cost | No | ||
| type | No | ||
| items | No | ||
| status | No | ||
| content | No | ||
| metadata | No | ||
| effectiveness | No | ||
| implementation_details | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |