I regularly come across Azure environments where the Microsoft Defender plans are not enabled, which is desired. In many cases, the cause can be found in manually managing the environment settings (former ‘Pricing Settings’), where all plans must be enabled for each new subscription. And thus be forgotten when a new subscription becomes available.
Many don’t know that you can easily manage these settings at scale using Azure Policy, so that the desired configuration is automatically set when you request a new subscription. All you have to do is assign the policies below on the scope – a Management Group in this case – under which all subscriptions should have Microsoft Defender enabled automatically.
See below an overview of all the built-in policies that Microsoft has published for the various Microsoft Defender plans in Microsoft Defender for Cloud and the recommendation they resolve:
|Policy Definition ID
|Azure Defender for servers should be enabled
|Configure Azure Defender for servers to be enabled
|Azure Defender for App Service should be enabled
|Configure Azure Defender for App Service to be enabled
|Azure Defender for Azure SQL Database servers should be enabled
|Configure Azure Defender for Azure SQL database to be enabled
|Azure Defender for SQL servers on machines should be enabled
|Configure Azure Defender for SQL servers on machines to be enabled
|Azure Defender for Storage should be enabled
|Configure Azure Defender for Storage to be enabled
|Azure Defender for Kubernetes should be enabled
|Configure Azure Defender for Kubernetes to be enabled
|Azure Defender for container registries should be enabled
|Configure Azure Defender for container registries to be enabled
|Azure Defender for Key Vault should be enabled
|Configure Azure Defender for Key Vaults to be enabled
|Azure Defender for Resource Manager should be enabled
|Configure Azure Defender for Resource Manager to be enabled
|Azure Defender for DNS should be enabled
|Configure Azure Defender for DNS to be enabled
|Azure Defender for open-source relational databases should be enabled
|Configure Azure Defender for open-source relational databases to be enabled
Note: With the November ’21 edition of Ignite, Microsoft has announced that several well-known security products will now go through life under a new name. Therefore, not all of the above products may look familiar to you. “Azure Security Center” (ASC) and “Azure Defender” are now jointly renamed “Microsoft Defender for Cloud”, while all “Azure Defender Plans” continue as “Microsoft Defender Plans”. As you can see in the table above, Microsoft has not yet renamed everything within Azure.
Learn more about the recent renaming of Microsoft security services.