From 746b70bb862c10adc7871ad6068ab28b6f6c4af2 Mon Sep 17 00:00:00 2001 From: Sergey Kostrukov Date: Wed, 29 Mar 2023 11:49:37 -0700 Subject: [PATCH] Prometheus: Update audiences for Azure auth (#65498) * Update US Gov audience for Azure auth in Prometheus * Update China audience for Azure auth in Prometheus --- pkg/tsdb/prometheus/azureauth/azure.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/tsdb/prometheus/azureauth/azure.go b/pkg/tsdb/prometheus/azureauth/azure.go index 973ea9dd378..a61e1bf8f4e 100644 --- a/pkg/tsdb/prometheus/azureauth/azure.go +++ b/pkg/tsdb/prometheus/azureauth/azure.go @@ -18,8 +18,8 @@ import ( var ( azurePrometheusScopes = map[string][]string{ azsettings.AzurePublic: {"https://prometheus.monitor.azure.com/.default"}, - azsettings.AzureChina: {"https://prometheus.monitor.chinacloudapp.cn/.default"}, - azsettings.AzureUSGovernment: {"https://prometheus.monitor.usgovcloudapi.net/.default"}, + azsettings.AzureChina: {"https://prometheus.monitor.azure.cn/.default"}, + azsettings.AzureUSGovernment: {"https://prometheus.monitor.azure.us/.default"}, } )