From 209c82ba45dbc733446b8be6bf5596ae83f208b7 Mon Sep 17 00:00:00 2001 From: Markus Blaschke Date: Sat, 7 Oct 2023 20:51:25 +0200 Subject: [PATCH] fix deprecations Signed-off-by: Markus Blaschke --- auditor/auditor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auditor/auditor.go b/auditor/auditor.go index 82ff29a..c789623 100644 --- a/auditor/auditor.go +++ b/auditor/auditor.go @@ -347,7 +347,7 @@ func (auditor *AzureAuditor) initAzure() { auditor.Logger.Panic(err) } auditor.azure.client.SetUserAgent(auditor.UserAgent) - auditor.azure.client.SetSubscriptionFilter(auditor.Opts.Azure.Subscription...) + auditor.azure.client.SetSubscriptionID(auditor.Opts.Azure.Subscription...) } func (auditor *AzureAuditor) initMsGraph() {