From c4c2510a04c9cfd24092e17e4042004f48230989 Mon Sep 17 00:00:00 2001 From: "alerting-team[bot]" <158350966+alerting-team[bot]@users.noreply.github.com> Date: Sat, 21 Jun 2025 00:01:12 +0200 Subject: [PATCH] Alerting: Update alerting module to 863b09716e600ae15235b0fe2f996a389becd850 (#107027) * [create-pull-request] automated change * Fix TestRemoveSecretsForContactPoint test --------- Co-authored-by: alexander-akhmetov <1875873+alexander-akhmetov@users.noreply.github.com> Co-authored-by: Alexander Akhmetov --- go.mod | 2 +- go.sum | 4 ++-- pkg/services/ngalert/provisioning/contactpoints_test.go | 3 +++ 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 3fce0b0bb77..bbe8c5b30e6 100644 --- a/go.mod +++ b/go.mod @@ -77,7 +77,7 @@ require ( github.com/googleapis/gax-go/v2 v2.14.1 // @grafana/grafana-backend-group github.com/gorilla/mux v1.8.1 // @grafana/grafana-backend-group github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // @grafana/grafana-app-platform-squad - github.com/grafana/alerting v0.0.0-20250610043455-3e20fda3b872 // @grafana/alerting-backend + github.com/grafana/alerting v0.0.0-20250620095611-863b09716e60 // @grafana/alerting-backend github.com/grafana/authlib v0.0.0-20250618124654-54543efcfeed // @grafana/identity-access-team github.com/grafana/authlib/types v0.0.0-20250325095148-d6da9c164a7d // @grafana/identity-access-team github.com/grafana/dataplane/examples v0.0.1 // @grafana/observability-metrics diff --git a/go.sum b/go.sum index 3536ff396e4..d1e41997153 100644 --- a/go.sum +++ b/go.sum @@ -1571,8 +1571,8 @@ github.com/gorilla/sessions v1.2.1 h1:DHd3rPN5lE3Ts3D8rKkQ8x/0kqfeNmBAaiSi+o7Fsg github.com/gorilla/sessions v1.2.1/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM= github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 h1:JeSE6pjso5THxAzdVpqr6/geYxZytqFMBCOtn/ujyeo= github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674/go.mod h1:r4w70xmWCQKmi1ONH4KIaBptdivuRPyosB9RmPlGEwA= -github.com/grafana/alerting v0.0.0-20250610043455-3e20fda3b872 h1:bhUBPxMHtQB+AJaPcASElgwC7WFjWQvEiD3FoMEAv0E= -github.com/grafana/alerting v0.0.0-20250610043455-3e20fda3b872/go.mod h1:VANfU4LMnOR4Gv4hkCN9fGyQ/8Lf2DKOvzG70vI2IS4= +github.com/grafana/alerting v0.0.0-20250620095611-863b09716e60 h1:Mq8e+e10y1862/6auV6UqqE5QLgeLvd7SYEwAwMrB5A= +github.com/grafana/alerting v0.0.0-20250620095611-863b09716e60/go.mod h1:WR+F4ifQQmoEzyfTBUxBD7XjVzmoQXs3IWZG9VlkhDw= github.com/grafana/authlib v0.0.0-20250618124654-54543efcfeed h1:k5Ng33zE9fCawqfEVybOasXY7/FQD5Qg2J92ePneeVM= github.com/grafana/authlib v0.0.0-20250618124654-54543efcfeed/go.mod h1:1fWkOiL+m32NBgRHZtlZGz2ji868tPZACYbqP3nBRJI= github.com/grafana/authlib/types v0.0.0-20250325095148-d6da9c164a7d h1:34E6btDAhdDOiSEyrMaYaHwnJpM8w9QKzVQZIBzLNmM= diff --git a/pkg/services/ngalert/provisioning/contactpoints_test.go b/pkg/services/ngalert/provisioning/contactpoints_test.go index cab8dd42400..dc2a0fd239c 100644 --- a/pkg/services/ngalert/provisioning/contactpoints_test.go +++ b/pkg/services/ngalert/provisioning/contactpoints_test.go @@ -426,6 +426,9 @@ func TestRemoveSecretsForContactPoint(t *testing.T) { "jira": func(settings map[string]any) { // add additional field to the settings because valid config does not allow it to be specified along with password settings["api_token"] = "test-token" }, + "oncall": func(settings map[string]any) { // add authorization_credentials field since it's expected as a secret field + settings["authorization_credentials"] = "test-authz-creds" + }, } configs := notify.AllKnownConfigsForTesting