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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| log | Yes | The log text. | |
| filename | No | Optional file name; the extension can help identify the format. |