launch_attack
Run an attack against a cloud account connected to Mitigant. Returns the result if it finishes within wait_seconds (default 20); otherwise it returns at once with the attackId and status RUNNING while the attack keeps running -- then poll get_attack_status with that attackId, and never launch it again (that would start a second attack). This performs real actions on real cloud infrastructure -- it is not a simulation. Confirm with the user before calling: if their request could match more than one attack in list_attacks (similar names, or an underspecified description like "the security group attack"), show them the matching candidates with their names and descriptions and have them pick one -- don't guess which attack they meant. Some attacks need a person to act during the run (e.g. Azure device code flow abuse and other phishing-style attacks wait for someone to enter a code and sign in): tell the user that before launching, expect several minutes of runtime with no result yet, and know that outcome NOT_EXECUTED is the normal result when nobody completes that step -- report it as "did not run" with its reason, not as a fault or a no-op.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cloud_service": "<cloud_service>",
"account_no": "<account_no>",
"action_key": "<action_key>"
},
"name": "launch_attack"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | Optional: the region to run the attack in (e.g. us-east-1, eu-west-3). Omit to use the account's default region (the defaultRegion from list_cloud_accounts); passing a region here does not change the account's default for other users. Evidence is collected in whichever region the attack runs in. | |
| account_no | Yes | Target account identifier -- AWS account number, Azure subscription ID, or GCP project ID | |
| action_key | Yes | The attack's attackType value to launch (an opaque id, not attackName) -- from list_attacks or get_attack_details | |
| wait_seconds | No | Optional: how many seconds to wait for it to finish before returning (default 20). If it has not finished by then the call returns immediately with the attackId and status RUNNING while it keeps running -- poll get_attack_status with that attackId and never launch it again. 0 returns the attackId at once. | |
| cloud_service | Yes |