fluxer-admin-alerts/config.example.toml
Clarth 674d0df703 Add group_alerts setting for per-run summary notifications
Allow choosing between one alert per item (default) and one grouped summary alert per run when any items need attention via general.group_alerts.
2026-11-13 20:37:28 -05:00

38 lines
1 KiB
TOML

# Copy this file to config.toml and adjust it.
# Secrets and URLs go in .env, not here.
[general]
# Hours before an open item is alerted again while it is still open in the admin UI.
# Set to 0 to turn repeats off.
realert_hours = 12
# Send a message when an item is no longer open (cleared in the admin UI).
notify_cleared = true
# Send one alert per item (false) or one summary alert per run when anything needs attention (true).
group_alerts = false
# Timeout in seconds for each request to the Fluxer API or webhook.
request_timeout = 15
# Where the alert history is kept (SQLite). Relative paths are from the project folder.
state_file = "state.db"
# Notifiers to send alerts through. Available: "fluxer"
notifiers = ["fluxer"]
# Each source can be turned off with enabled = false.
[sources.pending_reports]
enabled = true
# Hours a report can stay open before a "still open" reminder is sent.
stale_after_hours = 48
[sources.pending_registrations]
enabled = true
[sources.discovery_applications]
enabled = true
[sources.enforcement_review]
enabled = true