[[webhook]] receivers get each ingested sweep's changes, filtered by kind
and group, as Xexéu JSON or a Slack/Discord message, optionally signed with
HMAC-SHA256 from an environment variable. Delivery runs in the background
with retries and never blocks ingestion. GET /api/config and the logs show
webhook URLs as scheme://host/… because chat webhook URLs are credentials.
/metrics exposes hosts, ports, findings by severity, feed state, per-group
last sweep and webhook delivery counters.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
server/ (state, ingestion, API, CSV exports, embedded assets), scanner,
feeds_cmd, config_cmd and commands. Code moved as is; no behavior change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Group CRUD decides what the scanner sweeps, yet any client that reached the
API could change it. Writes now need XEXEU_ADMIN_TOKEN (or a token generated
at startup and printed as a ?token= link, like sabia ui), compared in
constant time, and a browser Origin must match Host. The dashboard keeps the
token for the tab and asks for it on 401. Reads are unchanged.
Also track .env.example: '.env*' in .gitignore had kept it out of the
repository, although the README tells operators to copy it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>