alerts: Teams webhook fan-out + contract 0.14.0

This commit is contained in:
2026-07-22 10:56:04 -04:00
parent e3d09bdd78
commit 4a5b78dad2
6 changed files with 153 additions and 8 deletions

View File

@@ -838,6 +838,23 @@ def build_default_settings():
'description': 'Public base URL of this site (e.g. '
'https://host/ops), used to build links in emails'
},
{
'key': 'alert_webhook_url',
'value': '',
'valuetype': 'string',
'category': 'email',
'description': 'Optional webhook URL alerts also POST to (e.g. a '
'Microsoft Teams Incoming Webhook or Workflow)'
},
{
'key': 'alert_webhook_format',
'value': 'teams',
'valuetype': 'string',
'category': 'email',
'description': 'Alert webhook payload format: teams (classic '
'Incoming Webhook), adaptivecard (Teams Workflow), '
'or json (generic {title,text})'
},
# Audit log settings
{
'key': 'audit_retention_days',