add_mitigation
Add mitigations to a threat model with details like type, status, cost, and effectiveness. Supports single and batch operations for efficient threat modeling.
Instructions
Add a new mitigation to the model. Supports batch operations via the 'items' parameter.
This tool adds one or more mitigations to the threat model. For single item: provide content and optional fields directly. For batch: provide a list of mitigation dicts in the 'items' parameter.
Args: ctx: MCP context for logging and error handling content: Content of the mitigation (required for single item mode) type: Type of the mitigation status: Status of the mitigation implementation_details: Implementation details of the mitigation cost: Cost of the mitigation effectiveness: Effectiveness of the mitigation metadata: Metadata for the mitigation items: Optional list of mitigation dicts for batch operation
Returns: A confirmation message with the mitigation ID(s)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cost | No | ||
| type | No | ||
| items | No | ||
| status | No | mitigationIdentified | |
| content | No | ||
| metadata | No | ||
| effectiveness | No | ||
| implementation_details | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |