Return login security brute force attacks by user

This function lists brute force attack entries from the cPHulk database, ordered by user accounts.

SecurityBasicAuth
Responses
200

HTTP Request was successful.

Response Schema: application/json
object
object
get/get_cphulk_user_brutes
Request samples
whmapi1 --output=jsonpretty \
  get_cphulk_user_brutes
Response samples
application/json
{
  • "data": {
    • "user_brutes": [
      • {
        • "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_user_brutes",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}