Investigate MagicSword audit/block events
list_eventsSearches normalized Investigate events across name, filename, path, hash, publisher, computer, and package family, with optional type, status, policy, and endpoint filters.
Instructions
Searches normalized Investigate events across name, filename, path, hash, publisher, computer, and package family, with optional type, status, policy, and endpoint filters. For “show filename audit events for image.png”, use type=filename, status=audited, file_name=image.png. Defaults to audited and blocked events over the last 24 hours, based on when they were last observed. Returns file paths, publishers, hashes, endpoint names, occurrence counts, timestamps, and rule context without raw telemetry. Search is read-only. To create rules, review the results and pass selected event IDs to manage_policy_rules with an explicit status and optional rule type. Requires alerts:read.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Case-insensitive literal substring search across name, filename, path, hash, publisher, computer, and package family. Up to 120 characters, including Unicode and punctuation; %, _, and * are literal. Omit type to search across event types. Combine with file_name for an exact filename. | |
| type | No | Comma-separated event types, e.g. process,filepath,hash | |
| hours | No | Lookback window in hours; defaults to 24 | |
| limit | No | ||
| since | No | ISO timestamp lower bound; overrides hours when provided | |
| offset | No | ||
| status | No | Comma-separated statuses, e.g. audited,blocked | |
| platform | No | ||
| file_name | No | Exact, case-sensitive filename, e.g. image.png; punctuation is literal | |
| policy_id | No | ||
| endpoint_id | No |