Enabling Workload Protection Plans
This lesson gives an overview of the plans, how to enable them, and how their alerts are used.
Learning outcomes
After completing this lesson, you will be able to:
- Identify what each plan protects.
- Enable plans at scale.
- Describe how alerts are handled.
- Decide which plans to enable.
An overview of the plans
Earlier lessons covered the plans for particular resources. This lesson brings them together, and focuses on how to run them as a programme. Each plan is a separate decision with a separate price, so an engineer should know what each one protects. The following table summarizes the plans.
| Plan | Protects | Example detection |
|---|---|---|
| Defender for Servers | Azure, hybrid and multicloud machines | Malware, suspicious processes, brute-force attacks |
| Defender for Storage | Azure Storage accounts | Malicious uploads, unusual access |
| Defender for Databases | SQL, open-source and Cosmos DB services | SQL injection, unusual access |
| Defender for Containers | Kubernetes and images | Binary drift, suspicious API calls |
| Defender for Key Vault | Key vaults | Unusual secret retrieval |
| Defender for App Service | App Service apps | Web scanning, dangling DNS |
| Defender for Resource Manager | Azure control plane operations | Suspicious management activity |
| Defender for APIs | APIs published in API Management | API abuse and sensitive data exposure |
| Defender for AI Services | AI model deployments | Jailbreak attempts and prompt attacks |
Defender for Resource Manager deserves a mention, since no other module covers it. It watches operations on the Azure control plane, whichever tool issues them, and it can detect suspicious activity such as an operation from a risky address, or the use of an attack toolkit.
Plans and detections
Enabling plans
In the Azure portal, open Microsoft Defender for Cloud > Environment settings, select a subscription, and turn each plan on. Enabling needs Security Admin or a higher role. Plans with a Settings link have components to review: Storage has malware scanning, Containers has the sensor and policy add-on, and AI services has prompt evidence.
To enforce plans on an estate of many subscriptions, assign an Azure Policy at a management group, so that new subscriptions are configured automatically. The following command lists every plan on a subscription with its tier, to help find gaps.
az security pricing list --query "value[].{plan:name,tier:pricingTier}" -o tableA plan is usually enabled at subscription level, with limited options for selecting individual resources. Defender for Storage and Defender for Servers Plan 1 can be set on single resources, and SQL can be set at server level. Most plans offer a 30-day trial, so an organization can estimate costs from real usage.
Enabling plans at scale
Working with alerts
A security alert describes something suspicious, with a severity, the affected resource, MITRE ATT&CK tactics and steps to take. Alerts can have a status of Active, In progress, Dismissed or Resolved. Suppression rules hide alerts that are known to be benign, such as those from a penetration test, for a named scope and time. Email notifications can reach subscription owners and named contacts.
Alerts are most useful when connected. With Defender XDR integration, Defender for Cloud alerts appear in the Defender portal, correlated into incidents alongside endpoint, identity and email signals. Alerts can also flow to Microsoft Sentinel. Workflow automation runs a logic app when an alert fires, for example to isolate a resource or open a ticket.
Handling alerts
Choosing what to enable
Not every subscription needs every plan, though the default should be protection. A useful approach weighs the value of what is protected against the cost, as follows.
-
Inventory
List resource types and their business importance.
-
Estimate
Use the price estimator or a trial to see real costs.
-
Enable by default
Turn on plans for production subscriptions, with a policy.
-
Tune
Adjust caps and settings, such as the malware scanning limit.
-
Review
Revisit coverage when new resource types appear.
Pair plans with posture work. Threat detection is a safety net, and it does not reduce the attack surface.
Finding gaps at scale
A company has 60 subscriptions, and new ones are created monthly. Audit found that several have no Defender plans for Storage or Key Vault. The company wants these two plans on every subscription, including future ones, with no manual steps. What should you do?
Assign built-in Azure Policy definitions that configure the Defender plans, with a DeployIfNotExists effect, at the management group that contains the subscriptions, and run a remediation task for existing subscriptions. The assignment's managed identity needs a suitable role.
A script run manually would miss new subscriptions. An alert about missing plans would report the gap and not fix it. A Deny policy cannot enable a plan.
A penetration test is causing alerts for a week. What should you use?
Show answer
A suppression rule, scoped to the test and limited in time.
Exam Tips
Remember for the exam
- Each plan protects one resource type and is priced separately.
- Use Azure Policy at a management group to enforce plans.
- Suppression rules hide known benign alerts.
- Defender XDR integration correlates alerts into incidents.