feat: webhook alerts for surface changes and Prometheus /metrics
[[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>
This commit is contained in:
1 parent
8b6e0d4a3f
commit
cd1f3d0e8c
17 files changed
+1158
-7
No files matched your search
@@ -9,3 +9,6 @@ XEXEU_PUBLISH=127.0.0.1:8788
|
||||
XEXEU_ADMIN_TOKEN=
|
||||
# Xexéu container image repository.
|
||||
XEXEU_IMAGE=git.lucasrguerra.dev.br/ciberfauna/xexeu
|
||||
# Key that signs webhook bodies (X-Xexeu-Signature) when a [[webhook]] sets
|
||||
# segredo_env = "XEXEU_WEBHOOK_KEY". Empty: webhooks go unsigned.
|
||||
XEXEU_WEBHOOK_KEY=
|
||||
Reference in new issue
Block a user