GET /admin-api/history?ip=<address> joins the six dated stores that can name a
source - the operator's block, the ban this edge wrote itself, the range whose
CIDR covers the address, the exemption covering it, the alerts raised about the
key, the change records whose target is the key or a range that covers it, and
the observation row that counts its refusals - and returns them oldest-first with
what each one did. The dossier (OPEN-70) answers now, the horizon (OPEN-72)
answers soon; this answers what already happened, which is the question a
complaint on Monday actually asks.
Rulings:
- the order is the answer. "The exemption, then the ban" and "the ban, then the
exemption" are different incidents, and an operator assembling this from six
listings gets whichever one they opened last. Oldest-first is asserted even
when the rows were written newest-first.
- a range or an exemption is in the story because it covers the address, not
because a row names it - the distinction the dossier had to learn - and a
change to that range is a change to this source's conditions, so its change
record belongs here too.
- inForce is null for the kinds that are events rather than states. An alert, a
change record and a sighting do not answer "is it in force"; false would say
the alert had been switched off. Expired rows stay and say when they stopped.
- searched counts what was looked at, so an empty story is not confused with a
surface that read nothing. Window 1..129600 min (7d default, the retention
window of the rows that make up most of a story), limit 200 by default and it
says how much it left out.
- the engine ban's evidence is its stored reason, not the reason plus the same
fields again: the first run printed "last 404 /wp-login.php - last 404
/wp-login.php - 3 refusals in a row".
The console carries the same call under the horizon: one address, the joined
timeline, each line stamped and marked in force or EXPIRED, with the header
naming the key the address is filed under and what was searched.
One gate assertion moved rather than the product: the scene asked for the story of
an address "with nothing recorded" and got 34 change records, because the
netblock scene writes and removes 192.0.2.0/24 through the run and a change to a
/24 really is part of the story of every address inside it. The surface was right;
the assertion had picked an address that was not outside anything.
gates: build 0 warnings / 0 errors, unit 377/377, integration 383/383 in 34 s,
console 151 assertions 0 failed, smoke passed 230 failed 0, compose 331 passed
0 failed against the built image at 262 MB, 0 containers left behind.
Refs OPEN-73.