Vai al contenuto principale
GET
/
api
/
v1
/
atb
/
{id}
/
traffic
/
stats
Get Threat Blocker traffic statistics
curl --request GET \
  --url https://app.aegister.com/api/v1/atb/{id}/traffic/stats \
  --header 'X-Aegister-Token: <api-key>'
{
  "error": 0,
  "messages": "<array>",
  "data": {
    "top_source_ips": [
      {
        "ip": "<string>",
        "hits": 123
      }
    ],
    "top_destination_ips": [
      {
        "ip": "<string>",
        "hits": 123
      }
    ],
    "top_denied_traffic": [
      {
        "src_ip": "<string>",
        "dst_ip": "<string>",
        "hits": 123
      }
    ],
    "top_communicators": [
      {
        "ip": "<string>",
        "total_hits": 123,
        "as_source": 123,
        "as_destination": 123
      }
    ]
  }
}

Autorizzazioni

X-Aegister-Token
string
header
obbligatorio

Parametri del percorso

id
integer
obbligatorio

Parametri della query

end_date
string<date-time>

End date for filtering (ISO format)

start_date
string<date-time>

Start date for filtering (ISO format)

top
number
predefinito:5

Number of top IPs to return

Risposta

error
integer

Any value different from 0 indicates an error.
More details can be found in messages.

Intervallo richiesto: 0 <= x <= 0
Esempio:

0

messages
array

If error is 1, contains zero or more details on the error.

Esempio:
[]
data
object