OX Abuse Shield (Trackalert) (1.3.0)

Download OpenAPI specification:Download

License: GPL3

An API to the trackalert daemon to prevent brute-force and abuse of mail systems

report

Creates a new report about a login (successful or unsuccessful)

Request Body schema: application/json

Login Tuple for report command

object (LTAttrs)
object (LTAttrs)
device_id
string
login
required
string
policy_reject
boolean
protocol
string
Enum: "http" "imap" "pop3" "smtp" "mobileapi"
pwhash
required
string
remote
required
string
success
required
boolean
tls
boolean

Responses

Request samples

Content type
application/json
{
  • "login": "joe.bloggs",
  • "pwhash": "cc04",
  • "remote": "192.168.1.2",
  • "success": true
}

Response samples

Content type
application/json
{
  • "status": "ok"
}

stats

Get server stats

Responses

Response samples

Content type
application/json
{
  • "commandstats": {
    },
  • "customstats": {
    },
  • "perfstats": {
    },
  • "reports": 28291,
  • "sys-msec": 97211221,
  • "user-msec": 292910108
}