This function lists failed login attempt entries from the cPHulk database.
HTTP Request was successful.
object | |
object |
whmapi1 --output=jsonpretty \ get_cphulk_failed_logins
{- "data": {
- "failed_logins": [
- {
- "authservice": "dovecot",
- "exptime": "2014-12-07T00:00:00.000Z",
- "ip": "192.168.0.1",
- "logintime": "2014-11-20T00:00:00.000Z",
- "service": "ftp",
- "timeleft": 14,
- "user": "example"
}
]
}, - "metadata": {
- "command": "get_cphulk_failed_logins",
- "reason": "OK",
- "result": 1,
- "version": 1
}
}