| reviewed | 2024-10-12 |
|---|---|
| severity | Critical |
| pillar | Security |
| category | SE:10 Monitoring and threat detection |
| resource | Microsoft Defender for Cloud |
| resourceType | Microsoft.Security/pricings |
| online version | https://azure.github.io/PSRule.Rules.Azure/en/rules/Azure.Defender.AppServices/ |
Enable Microsoft Defender for App Service.
Many attacks are performed first by probing web applications to find and exploit weaknesses. It is crucial to secure your applications, even while running in PaaS services like App Service.
Microsoft Defender for App Service identifies attacks over App Service thanks to cloud scale data analysis. It offers:
- Hardening capabilities for your App Services through assessments and security recommendations.
- Detection of threats at different levels such as underlying VMs, internal logs, I/O to your App Service, etc.
- Protection against common attack patterns like MITRE ATT&CK or even dangling DNS.
The solution is particularly efficient as it can can identify attack methodologies applying to multiple targets. The log data and the infrastructure together are used to enhance Defender for App Service globally.
Consider using Microsoft Defender for App Service to protect your web apps and APIs.
To enable Defender for App Service:
- Set the
Standardpricing tier for Microsoft Defender for App Service.
For example:
{
"type": "Microsoft.Security/pricings",
"apiVersion": "2024-01-01",
"name": "AppServices",
"properties": {
"pricingTier": "Standard"
}
}To enable Defender for App Service:
- Set the
Standardpricing tier for Microsoft Defender for App Service.
For example:
resource defenderForAppServices 'Microsoft.Security/pricings@2024-01-01' = {
name: 'AppServices'
properties: {
pricingTier: 'Standard'
}
}az security pricing create -n 'AppServices' --tier 'standard'Set-AzSecurityPricing -Name 'AppServices' -PricingTier 'Standard'