get_failed_logins
Identify unauthorized access attempts by reviewing recent failed login records with summary statistics, defaulting to 20 entries. Supports security triage with read-only checks.
Instructions
Returns recent failed login attempts (excluding Boot records) with summary statistics. Read-only: lastb -n N, falling back to journalctl if btmp is not readable. Default 20 entries. Errors are non-fatal. Use for security triage; get_audit_logs for kernel and auditd events.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lines | No | number of recent entries (default: 20) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | ||
| entries | Yes | ||
| summary | Yes |