Lists¶
Each list answers one question. Call it by its id. The method behind a list can
change, and the id stays the same. GET /v1/lists returns this catalogue with the
newest day of each list.
| Id | Question | Ranked | Kept for |
|---|---|---|---|
all-last-day |
Who attacked us yesterday? | no, complete | 7 days |
all-last-7-days |
Who attacked us in the last 7 days? | no, complete | 7 days |
persistent |
Who has been attacking for a long time, and steadily? | yes | 14 days |
recent-heavy |
Who attacked heavily, and how recently? | yes | 7 days |
recently-active |
Who has been active lately, with older activity counting less? | yes | 7 days |
likely-tomorrow |
Who is likely to attack again tomorrow? | yes | 7 days |
top-contributors |
Which few attackers are behind most of the traffic of the last 60 days? | yes | 14 days |
Ranked lists are ordered from the most to the least important address. Their
records have a rank and a top_percent. The two complete lists, whose ids start with
all-, contain everyone seen and are not ranked.
Kept for is how long an address stays listed after its last day on the list. It
sets expires_at. You can apply your own rule instead.
What each list covers¶
all-last-day¶
Who attacked us yesterday? Every address seen on the previous calendar day (UTC), unranked.
all-last-7-days¶
Who attacked us in the last 7 days? Every address seen on the 7 calendar days (UTC) before the list's date, unranked.
persistent¶
Who has been attacking for a long time, and steadily? Ranked by traffic per active day over the whole history up to the previous day, aged by days since last seen relative to how long the address has been attacking.
recent-heavy¶
Who attacked heavily, and how recently? Ranked by total traffic over the whole history up to the previous day, aged quickly by days since last seen.
recently-active¶
Who has been active lately, with older activity counting less? Ranked by the days an address was seen, each counting half as much for every week since, up to the previous day.
likely-tomorrow¶
Who is likely to attack again tomorrow? Ranked by a model's prediction from the history up to the previous day. The ranking is not a calibrated probability.
top-contributors¶
Which few attackers are behind most of the traffic of the last 60 days? The fewest addresses that together sent at least 80% of the traffic of the 60 days before the list's date, ranked by their traffic.
The catalogue¶
Each entry of GET /v1/lists has these fields.
| Field | Type | Meaning |
|---|---|---|
id |
str |
Stable id, used in /v1/lists/{id} and in every record. |
title |
str |
Short name for menus and tables. |
question |
str |
The question the list answers. |
method |
str |
The AIP model that produces the list. It can change. The id stays. |
method_version |
str | None |
AIP's version for the newest day's list, when AIP reported it. |
ranked |
bool |
False for the complete, unranked lists (all-*). |
measure |
'top_percent' | None |
How addresses are compared: top_percent (lower is better), or null. |
window |
str |
What one day's list covers. |
keep_blocking_days |
int |
Days an address stays listed (expires_at) after its last day on the list. |
updated |
str |
How often a new day's list arrives. |
free_access |
str |
What Community (free) callers get of this list. |
available |
bool |
False for a list described but not served yet. |
newest_day |
date | None |
The newest day loaded. |