restore_attacker
Restore a soft-deleted attacker in a threat model, reviving its control objectives and un-orphaning its controls, then return the updated model.
Instructions
Un-soft-delete an attacker previously removed with remove_attacker. Mutating.
Reinstates the attacker under its original ID, revives the control objectives that were tombstoned when it was removed, and un-orphans any controls that were anchored to it. Only affects an attacker that is currently soft-deleted. Returns the updated threat model.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_id | Yes | ID of the threat model. | |
| attacker_id | Yes | ID of the attacker to restore. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||