This update for golang-github-prometheus-alertmanager fixes the following issues:
golang-github-prometheus-alertmanager was updated from version 0.23.0 to 0.26.0 (jsc#PED-7353):
- Version 0.26.0:
- Security fixes:
- CVE-2023-40577: Fix stored XSS via the /api/v1/alerts endpoint in the Alertmanager UI (bsc#1218838)
- Other changes and bugs fixed:
- Configuration: Fix empty list of receivers and inhibit_rules would cause the alertmanager to crash
- Templating: Fixed a race condition when using the title function. It is now race-safe
- API: Fixed duplicate receiver names in the api/v2/receivers API endpoint
- API: Attempting to delete a silence now returns the correct status code, 404 instead of 500
- Clustering: Fixes a panic when tls_client_config is empty
- Webhook: url is now marked as a secret. It will no longer show up in the logs as clear-text
- Metrics: New label reason for alertmanager_notifications_failed_total metric to indicate the type of error of the
alert delivery
- Clustering: New flag --cluster.label, to help to block any traffic that is not meant for the cluster
- Integrations: Add Microsoft Teams as a supported integration
- Version 0.25.0:
- Fail configuration loading if api_key and api_key_file are defined at the same time
- Fix the alertmanager_alerts metric to avoid counting resolved alerts as active. Also added a new
alertmanager_marked_alerts metric that retain the old behavior
- Trim contents of Slack API URLs when reading from files
- amtool: Avoid panic when the label value matcher is empty
- Fail configuration loading if api_url is empty for OpsGenie
- Fix email template for resolved notifications
- Add proxy_url support for OAuth2 in HTTP client configuration
- Reload TLS certificate and key from disk when updated
- Add Discord integration
- Add Webex integration
- Add min_version support to select the minimum TLS version in HTTP client configuration
*...