DEV Community

Cover image for A Defender for Cloud readiness checklist: what to test before you call it done
CD Security Lab
CD Security Lab

Posted on Originally published at gitlab.com

A Defender for Cloud readiness checklist: what to test before you call it done

My Defender for Cloud readiness notes, turned into a checklist and checked against Microsoft Learn (November 2026).
The one-page overview covered plans, roles and the first setup (Defender for Cloud in one page). This post is the part after that: the day someone asks "is it ready?" and you have to prove it.

My readiness checklist from a while ago had nine topics. When I checked it against Learn this month, two items were retired, one had changed numbers, and one feature now has two different scores with the same name. So this is the updated version, with the things I actually test.

Everything was rebuilt in my lab (rg-lab-mdc, contoso.com). Screens are redrawn, names are made up.

TL;DR

  • Know which secure score you're looking at. The Azure portal and the Defender portal now show two different models.
  • Exempt a resource with a reason and an end date. Don't just turn a recommendation off for everyone.
  • Prove alerting end to end: create sample alerts and check that they reach email, export and your SIEM. Then add suppression rules for real noise.

Readiness flow in five steps: pick one score, fix or exempt, sample alerts, suppress noise, check servers

Table of contents

1. Secure score: which one?

Learn now describes two secure score models, and they don't give the same number:

Classic secure score Cloud Secure Score (risk-based)
Where Azure portal, Defender for Cloud Defender portal, Exposure Management
Based on Microsoft cloud security benchmark (MCSB) controls, points per healthy resource Risk level of open recommendations, plus asset risk factors and criticality
Good for Tracking a subscription against MCSB Deciding what to fix first

If your manager reads one portal and you read the other, you'll have a confusing meeting. Agree on one before the readiness review.

How the classic score moves, in short:

  • Each control has a max score (for example Enable MFA is 10, Secure management ports is 8). Points are split per resource. You only get the full control score when every resource passes every recommendation in the control.
  • Controls are recalculated about every eight hours. Recommendations update more often, so the numbers on the two pages can disagree for a while. Don't panic after a fix. Wait.
  • Preview recommendations don't count. Fix them anyway. They'll count later.
  • Since June 30, 2026, more than 200 AWS and GCP recommendations count too. If you have multicloud connectors and your score dropped, that's probably why.

Source: Cloud Secure Score in Microsoft Defender for Cloud

2. Remediate, exempt or disable

For every red recommendation you have three honest answers:

  1. Fix it. Many recommendations have a Fix button for several resources at once. Enforce and Deny stop new resources from making the same mistake.
  2. Exempt it. The risk is handled somewhere else, or accepted on purpose.
  3. Disable it. The recommendation doesn't apply to this whole subscription.

Exempt is the one I test most, because people get it wrong:

Exempt dialog, redrawn: scope set to selected resources, category Risk accepted, expiration date set, description filled in

Category What happens to the score
Resolved through third-party service (mitigated) Resources count as healthy. The score goes up
Risk accepted (waiver) Resources are left out of the calculation. They don't count either way

What Learn says you need, and what tripped me up:

  • MCSB must be assigned on the subscription. Without it, the Exempt button can be missing.
  • Owner or Security Admin on the scope, plus permission to write Azure Policy exemptions. Rights at subscription level don't count at management group level.
  • It can take up to 24 hours to show. Exempted resources move to the Not applicable tab, and an exempted recommendation is hidden by the default filter. That's why it seems to "disappear".
  • Custom recommendations can't be exempted. Some preview recommendations can't either.
  • Create exemptions in the portal, not by calling the Azure Policy API yourself. The portal creates the exemption in every initiative that contains the recommendation. The API only does one.

My rule for the readiness review: every exemption has a reason, an owner in the description, and an expiration date. An exemption with no end date becomes the new normal.

Source: Exempt resources from recommendations

3. Prove that alerts arrive

Turning on a Defender plan doesn't prove anyone will see an alert. Test the whole path:

  1. Defender for Cloud > Security alerts > Sample alerts.
  2. Pick the subscription and the plans you enabled (Servers, Storage, Key Vault...).
  3. Create sample alerts. You need Subscription Contributor for this.

Sample alerts panel, redrawn: subscription selected, three Defender plans ticked, Create sample alerts button

After a few minutes, the samples show up in the alert list and everywhere else alerts go: email, workflow automation, continuous export, your SIEM. That's the real test. If the sample alert is in the portal but not in Sentinel, your export or connector is broken. Better to find out now. The samples are for simulated resources, so nothing real is touched.

For a test on a real machine, Learn gives commands per resource type. The easiest one is on a Linux VM with Defender for Endpoint and real-time protection on: download the harmless EICAR test file with curl (the exact command is on the Learn page). An alert should show up within about 10 minutes. App Service has a test URL ending in /This_Will_Generate_ASC_Alert, but that one can take a couple of hours.

Source: Validate alerts in Microsoft Defender for Cloud

4. Suppress the noise, not the signal

Some alerts are expected: a vulnerability scanner you run on purpose, a backup tool that looks like data theft. A suppression rule sets matching alerts to Dismissed automatically. They stay in the list, but they don't send notifications or show up in the active views.

How I set one up in the lab:

  1. Security alerts > Suppression rules > Create new suppression rule (or from an alert: Take action > Suppress similar alerts).
  2. Pick the alert type, then narrow it with entity conditions: one host, one IP, one user. A rule for "all alerts of this type on all machines" is how real attacks get hidden.
  3. Choose a reason, set an expiration, and click Simulate before Apply to see what it would have dismissed.

Things to know: you need Security Admin or Owner. A rule only works for alert types that have fired at least once. Deleting a rule doesn't bring back the alerts it already dismissed. For management groups, you use Azure Policy instead of the portal.

Source: Suppress alerts from Microsoft Defender for Cloud

5. Email notifications: who, what, how often

By default only subscription owners get an email, and only for high severity alerts and attack paths. In most companies the subscription owner isn't the person on call.

Email notifications settings, redrawn: roles Owner and Security Admin, extra address soc@contoso.com, alerts from Medium, attack paths from High

Environment settings > your subscription > Email notifications:

  • Add roles and a shared mailbox (for example soc@contoso.com). There's no limit to the number of addresses.
  • Pick the minimum severity for alerts and the minimum risk level for attack paths.

The part that changed since my notes: email is rate-limited per address. My old screenshot said "one email per 6 hours" for high severity. Learn today says:

Type Level Max emails per address
Alert High 4 per day
Alert Medium 2 per day
Alert Low 1 per day
Attack path Critical 1 per 30 minutes

So email is a heads-up, not your alert pipeline. If you need every alert, use continuous export or the Sentinel connector.

Source: Configure email notifications for alerts and attack paths

6. Servers: vulnerability scanning and JIT

Vulnerability scanning. My old checklist asked "Qualys or Defender?". That question is gone. Defender for Servers uses Microsoft Defender Vulnerability Management, and it's on by default when you enable the plan. Agent-based scanning comes with Plan 1 or Plan 2. Agentless scanning is on by default with Plan 2 or Defender CSPM. What I check: the machines are in scope, and findings appear for one test VM. You need Security Reader to see them.

Just-in-time VM access needs Defender for Servers Plan 2, and the VM needs an NSG or Azure Firewall in front of it. Otherwise it shows up as Unsupported.

JIT request on the VM Connect page, redrawn: port 22 selected, source My IP, time range 1 hour, Request access

  • Enabling it from the VM page uses defaults: RDP 3389 (Windows) or SSH 22 (Linux), 3 hours maximum, source Any. From Defender for Cloud you can also protect WinRM (5985/5986) and set the source IPs. Change "Any" to your admin range.
  • Users who only need to request access need a small set of rights, such as jitNetworkAccessPolicies/initiate/action. Learn has a script for a least-privilege role.
  • Users behind a proxy should enter the proxy's IP range, or the port opens for the wrong address.
  • Test it like a user: request access, connect, then check the Activity log entry for that request.

Sources: Enable vulnerability scanning with Defender Vulnerability Management ยท Enable just-in-time access

7. Items to delete from your old checklist

If your readiness template is older than 2025, remove these:

  • Adaptive application controls. Retired (Learn lists August 2024). My notes still had "AAC: test". Nothing left to test.
  • Log Analytics agent (MMA) checks. The agent retired in November 2024. Defender for Servers now uses the Defender for Endpoint sensor plus agentless scanning.
  • "Install Microsoft anti-malware" as the fix for endpoint protection. The newer agentless checks look for an EDR solution, not just an antivirus.

Source: Prepare for retirement of the Log Analytics agent

Gotchas

  • Two scores, one name. Classic secure score (Azure portal) and Cloud Secure Score (Defender portal) are different models.
  • "The recommendation disappeared." It was exempted, and the default filter hides Not applicable items.
  • Exempt button missing. MCSB isn't assigned, or you lack Azure Policy exemption rights at that scope.
  • Sample alert in the portal, nothing in Sentinel. That's the bug you were looking for. Fix the export or connector before go-live.
  • A broad suppression rule is a blind spot with a nice name.
  • Email as an alert pipeline. Four high-severity emails per day per address is the maximum.
  • JIT "Unsupported". No NSG or firewall in front of the VM, or Plan 2 isn't enabled.

Readiness checklist

  • [ ] Everyone agrees which secure score is reported (classic or Cloud Secure Score)
  • [ ] MCSB assigned on every subscription
  • [ ] Top recommendations fixed, or exempted with reason, owner and expiration
  • [ ] Sample alerts created for each enabled plan
  • [ ] Sample alerts seen in email, continuous export and the SIEM
  • [ ] Suppression rules narrowed by entity, with an expiration, simulated first
  • [ ] Email: roles plus a shared mailbox, severity set, limits understood
  • [ ] Vulnerability findings visible for a test VM
  • [ ] JIT tested end to end (request, connect, activity log), source not "Any"
  • [ ] Retired items removed from the template (AAC, MMA)

What's on your Defender for Cloud go-live checklist that isn't on mine?

Sources


Thanks for reading! I'm Cuong, and on CD Security Lab I rebuild real Microsoft security cases in a safe lab and explain them simply. Follow along:

Got a question about your own tenant? Drop it in the comments.

Top comments (0)