Skip to main content
Microsoft offers cloud environments that comply with regional regulations. These clouds are available for use based on your requirements. By default, Prowler utilizes the commercial AzureCloud environment. (To list all available Azure clouds, use az cloud list --output table). As of this documentation’s publication, the following Azure clouds are available:
  • AzureCloud
  • AzureChinaCloud
  • AzureUSGovernment
To change the default cloud, include the flag --azure-region. For example:

Scanning a Custom Azure Cloud

Added in: 5.53.0 To scan an Azure cloud that is not in the list above, such as a private, sovereign or air-gapped cloud, use the AzureCustom region and provide the endpoints of that cloud. These flags are for Prowler CLI:
The endpoints of a cloud registered in the Azure CLI are available with az cloud show --name <cloud-name> --query endpoints: If a field is empty, ask the cloud’s administrator for the endpoint. Each value is a host or an https:// URL, with an optional port and trailing slash. Prowler also requests its tokens for the Azure Resource Manager and Microsoft Graph endpoints, so each endpoint must be its own token audience. Clouds whose audience differs from the endpoint, or whose authority has a path, such as Azure Stack Hub with AD FS, are not supported. When --azure-logs-endpoint is not set, checks that query Log Analytics are not evaluated. With --az-cli-auth, the token comes from the cloud the Azure CLI is signed in to, so register and select that cloud first with az cloud register and az cloud set.
The endpoint flags are only valid together with --azure-region AzureCustom.