Vai al contenuto principale
POST
/
api
/
v1
/
atb
/
{id}
/
store-window-v2
Upload Threat Blocker traffic v2
curl --request POST \
  --url https://app.aegister.com/api/v1/atb/{id}/store-window-v2/ \
  --header 'Content-Type: application/json' \
  --header 'X-Aegister-Token: <api-key>' \
  --data '
{
  "date": 123,
  "start_ts": 123,
  "end_ts": 123,
  "total_requests": 123,
  "malicious_requests": 123,
  "log_messages": [
    {}
  ]
}
'
{
  "status": "<string>",
  "inserted": 123
}

Autorizzazioni

X-Aegister-Token
string
header
obbligatorio

Parametri del percorso

id
integer
obbligatorio

Corpo

date
number<double>

Timestamp of the log batch.

start_ts
number<double>

Start timestamp of the window.

end_ts
number<double>

End timestamp of the window.

total_requests
integer

Total number of requests in this window.

malicious_requests
integer

Number of malicious requests detected.

log_messages
object[]

Array of traffic log entries with src_ip, dst_ip, action, timestamp, traffic_direction, src_port, dst_port, fw_rule, malicious, score fields.

Risposta

201 - application/json
status
string
Esempio:

"success"

inserted
integer

Number of log entries indexed.