Scan a log for attacks
scan_log_for_attacksDetects the log format (50+ formats: web access logs, auth.log, Windows events, Sysmon, CloudTrail, Entra ID, Okta, Kubernetes audit, firewalls, EDR exports and more) and runs LogTriage's deterministic attack checks: brute force and password spraying, logins after failures, web scanning and injection, privilege changes in cloud logs, suspicious command lines, port scans and others, with MITRE ATT&CK techniques. Up to 5 MB of text; no threat-intelligence lookups and no AI (use analyze_log_file for those). The log is processed in memory and not stored. Free; no API key needed.
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": {
"log": "<log>"
},
"name": "scan_log_for_attacks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | Yes | The log text. | |
| filename | No | Optional file name; the extension can help identify the format. |