From 896db82b50f6fb83935b6f70d2194c2f18ea9d42 Mon Sep 17 00:00:00 2001 From: TheTechromancer Date: Sun, 22 Oct 2023 00:22:38 -0400 Subject: [PATCH] added a bunch of azure domains --- bbot/core/helpers/cloud/azure.py | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/bbot/core/helpers/cloud/azure.py b/bbot/core/helpers/cloud/azure.py index 69f3b6dda..83ceb5b03 100644 --- a/bbot/core/helpers/cloud/azure.py +++ b/bbot/core/helpers/cloud/azure.py @@ -2,25 +2,47 @@ class Azure(BaseCloudProvider): + # mostly pulled from https://learn.microsoft.com/en-us/azure/azure-government/compare-azure-government-global-azure domains = [ + "azconfig.io", "azmk8s.io", "azure-api.net", + "azure-api.us", + "azure-automation.net", + "azure-automation.us", + "azure-devices.net", + "azure-devices.us", "azure-mobile.net", "azure.com", "azure.net", + "azure.us", "azurecontainer.io", "azurecr.io", + "azurecr.us", "azuredatalakestore.net", "azureedge.net", "azurefd.net", "azurehdinsight.net", + "azurehdinsight.us", "azurewebsites.net", + "botframework.com", "cloudapp.net", - "windows.net", + "loganalytics.io", + "loganalytics.us", + "microsoft.us", + "microsoftonline.com", + "microsoftonline.us", "onmicrosoft.com", + "powerbi.com", + "powerbigov.us", "trafficmanager.net", + "usgovcloudapi.net", + "usgovtrafficmanager.net", "visualstudio.com", "vo.msecnd.net", + "windows.net", + "windowsazure.com", + "windowsazure.us", ] bucket_name_regex = r"[a-z0-9][a-z0-9-_\.]{1,61}[a-z0-9]"