Lesson 3 of 6 Managing Posture with Defender for Cloud

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.

PlanProtectsExample detection
Defender for ServersAzure, hybrid and multicloud machinesMalware, suspicious processes, brute-force attacks
Defender for StorageAzure Storage accountsMalicious uploads, unusual access
Defender for DatabasesSQL, open-source and Cosmos DB servicesSQL injection, unusual access
Defender for ContainersKubernetes and imagesBinary drift, suspicious API calls
Defender for Key VaultKey vaultsUnusual secret retrieval
Defender for App ServiceApp Service appsWeb scanning, dangling DNS
Defender for Resource ManagerAzure control plane operationsSuspicious management activity
Defender for APIsAPIs published in API ManagementAPI abuse and sensitive data exposure
Defender for AI ServicesAI model deploymentsJailbreak 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.

Match the pairs

Plans and detections

Exam skills 4.1.3

Match each workload protection plan with an example detection.

Log in to try this activity Interactive activities are free with an account.

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 table

A 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.

True or false

Enabling plans at scale

Exam skills 4.1.3

Check how workload protection plans are enabled.

Log in to try this activity Interactive activities are free with an account.

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.

Scenario questions

Handling alerts

Exam skills 4.1.3

Choose how to handle Defender for Cloud alerts.

Log in to try this activity Interactive activities are free with an account.

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.

  1. Inventory

    List resource types and their business importance.

  2. Estimate

    Use the price estimator or a trial to see real costs.

  3. Enable by default

    Turn on plans for production subscriptions, with a policy.

  4. Tune

    Adjust caps and settings, such as the malware scanning limit.

  5. 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.

Worked example

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.

Check yourself

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.