list_attacks
Retrieve all attacks for a specified profile, resource type, and resource value. Filter by date, search, or attack type IDs.
Instructions
Get all attacks Note: profileId selects a configuration profile (a lens, not a container). If the user has not specified a profile, call get_preferred_profile (or get_preferences) and use preferredProfileId — do not assume profile 1.
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": {
"profileId": "<profileId>",
"resourceType": "<resourceType>",
"resourceValue": "<resourceValue>"
},
"name": "list_attacks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Query parameter: limit | |
| order | No | Query parameter: order | |
| search | No | Query parameter: search | |
| dateEnd | No | Query parameter: dateEnd | |
| dateStart | No | Query parameter: dateStart | |
| profileId | Yes | Path parameter: profileId | |
| resourceType | Yes | Query parameter: resourceType | |
| attackTypeIds | No | Query parameter: attackTypeIds | |
| includeClosed | No | Query parameter: includeClosed | |
| resourceValue | Yes | Query parameter: resourceValue |