Skip to main content

Module audit_query

Module audit_query 

Source
Expand description

audit.query (backend::audit_query): a page of the Audit view’s list. The window’s, not an agent API: the Audit is the operator’s view of every agent, so a connection registered as an agent is refused.

On the machine scope’s first page it also asks the other channels on this computer for the rows they keep in their own file (handle_audit_own, the route they answer on), so a channel that stays out of the shared folder is still listed.

Functions§

asks_beyond_this_channel 🔒
Whether a request is the first page of a scope that lists more than this channel, the only page that asks the other channels (and, for lan, the paired computers).
handle_audit_own 🔒
POST /agentmux/audit/own: what this channel keeps in its own file, as an audit.query page, for another channel on this computer that is listing every channel. Full key only, never LAN; an agent’s token is refused, as the Audit is not an agent API.
machine_page 🔒
A page of this computer’s Audit as the window lists it: this channel’s stores, and on the first page of a scope that lists more, the rows the other channels on this computer keep in their own files.
other_channels 🔒
The other channels that are running, asked for their own rows.
query_here 🔒
A page from this srv’s stores. own_only reads only what this srv keeps in its own files, and leaves out the shared audit file, the shared activity folder and the shared segment ledger: what another channel cannot read.
register