Set up Microsoft Defender for Cloud
Turn on a paid Defender for Cloud plan in each subscription Emnode reads, so Security & compliance can show your regulatory compliance scores.
Last updated
Microsoft Defender for Cloud assesses your Azure subscriptions against security standards, starting with the Microsoft cloud security benchmark, and reports how many of each standard's controls pass and fail. Emnode's Security & compliance reads those results and shows them in Compliance Overview: a compliance score for each standard and each subscription, beside your AWS scores if you connect both.
There's no export to set up: Emnode asks Defender for Cloud directly, through its read-only role, once a day, in each subscription it connects. Defender for Cloud's free part, Foundational CSPM, isn't enough on its own, because Azure only gives out regulatory compliance results once a paid Defender plan is on in that subscription. The steps turn on Defender CSPM, Microsoft's paid posture plan: free for its first 30 days, then charged for each server, database and storage resource it covers. It takes about 5 minutes in the Azure portal, and the first scores reach Emnode within a day.
Before you start
Everyone needs the top three. Whether a paid plan is on already, and how many subscriptions Emnode reads, decides what's left to do. Select a number to see what to have ready.
Select a number above, or step through with the arrows.
1Owner or Security Admin
Turning a plan on needs Owner or Security Admin on the subscription; checking one needs only Reader. Adding a standard besides the Microsoft cloud security benchmark needs Owner or Policy Contributor.
2Each subscription Emnode reads
Defender plans are set per subscription. Emnode reads compliance from its main subscription and any you’ve added, so turn a plan on in each one you want scored. On Emnode’s Connections, they’re listed under Subscriptions.
3One paid plan
The free Foundational CSPM isn’t enough: Azure gives out compliance results only once a paid plan is on. Defender CSPM is free for 30 days in each subscription, then charged for each server, database and storage resource it covers. If costs are higher than expected
4No paid plan yet
Switch Defender CSPM to On on the subscription’s Defender plans, in Environment settings, and keep the Microsoft cloud security benchmark, which Defender for Cloud assesses by default. Set the guide to this path
5A paid plan is on
Most paid plans already give Emnode what it needs, so there may be nothing to turn on. Check the plan counts, and that the benchmark shows in Regulatory compliance. Set the guide to this path
6Servers or APIs Plan 1 only
Microsoft doesn’t give compliance standards with Defender for Servers Plan 1 or Defender for APIs Plan 1. If one of those is your only paid plan, switch Defender CSPM on as well. What to do
7Several subscriptions
Each subscription needs its own qualifying plan, and one without a plan isn’t scored. Repeat the Azure steps in each subscription Emnode reads. If a subscription isn’t scored
8Someone else runs your Azure
Send them a link to this page. They don’t need to send anything back: once the plan is on, click Re-run connection test on Emnode’s Connections, and the no-plan note goes.
Step by step
Choose whether a paid Defender plan is on already, and the steps show only what applies to you. Do the Azure steps in each subscription Emnode reads.
Your setup
Is a paid Defender plan already on?
Turn on Defender CSPM in the subscription Emnode reads.
Check the plan counts, and that compliance results show.
About 5 minutes in each subscription Emnode reads, then up to a day for the first scores. You turn on one paid plan, Defender CSPM, which is free for 30 days.
About 5 minutes in each subscription Emnode reads: check a qualifying plan is on and the benchmark shows. Nothing new to turn on.
Step 1: Subscription
In the Azure portalOpen Defender for Cloud's plans for the subscription Emnode reads.
- Sign in to the Azure portal as an Owner or Security Admin of the subscription Emnode connects.
- Sign in to the Azure portal with at least Reader on the subscription Emnode connects.
- Search for and select Microsoft Defender for Cloud.
- In its menu, under Management, choose Environment settings.
- In the list under Azure, select your subscription, such as Production. Its Defender coverage shows how many plans are on.
The subscription's Settings | Defender plans page opens.
Not sure which subscription? It's the one you chose in Emnode's Azure setup, shown under Subscriptions on Connections as Main.
Step 2: Defender CSPM
In the Azure portalTurn on Defender CSPM, the paid posture plan, for this subscription.
Check a paid plan that unlocks compliance standards is on for this subscription.
- Under Cloud Security Posture Management (CSPM), find Defender CSPM. Foundational CSPM above it is free, and already On.
- In the Status column, switch Defender CSPM to On. Leave the other plans as they are: Emnode doesn't read them.
- Click Save at the top of the page.
- In the Status column, check that at least one plan besides Foundational CSPM is On.
- If the only paid plan that's on is Servers on Plan 1, or Defender for APIs on Plan 1, switch Defender CSPM to On too and click Save: Microsoft doesn't give those two compliance standards.
Defender CSPM shows On, and its Resource quantity counts the resources it bills for.
A qualifying paid plan shows On.
Defender CSPM is free for 30 days in each subscription, then charged per billable resource a month, as its Pricing shows: servers, databases and storage only. Its Settings link, under Monitoring coverage, holds optional extras Emnode doesn't need.
Step 3: Compliance
In the Azure portalCheck Defender for Cloud reports the Microsoft cloud security benchmark, which it assesses by default, for this subscription.
- In Defender for Cloud's menu, under Cloud Security, choose Regulatory compliance.
- Check Microsoft cloud security benchmark shows how many controls passed, such as 53 of 63 controls passed.
- Under its tab, check it says the benchmark is applied to the subscription you chose, such as Production.
- Any other standards listed here, such as ISO 27001:2013, reach Emnode too.
The benchmark's controls show for your subscription. Right after you turn on the plan this can take a few hours: carry on and link Emnode now.
The benchmark's controls show for your subscription.
Need another standard for an audit? Add it with Manage compliance standards: Emnode scores every standard Defender reports.
Step 4: Link to Emnode
In EmnodeTick Security & compliance in Emnode's Azure setup, and check its test passes without a note.
Already connected? Add Security & compliance with Set up on its row on Connections instead, as in Add services.
- In Emnode's Azure setup, at Choose, tick Security & compliance.
- Carry on through Deploy and Connect: the deployment adds Security & compliance's read-only role.
- At Verify, click Test connection, and check Read Defender compliance posture passes with no note under it.
Emnode collects your compliance results once a day and shows them in Compliance Overview.
Turned the plan on after setting up Emnode? Click Re-run connection test on Connections to clear the no-plan note. The scores follow at the next daily collection.
If something goes wrong
| What you see | What to do |
|---|---|
| Emnode's test for Security & compliance says Access verified — but this subscription has no Defender for Cloud plan, so there is no compliance data yet. | Emnode can read Defender for Cloud, but that subscription has only the free Foundational CSPM. Turn on Defender CSPM there, as in Not yet, then click Re-run connection test on Connections. Plans are per subscription, so a note under an added subscription means turning a plan on in that one too. |
| Emnode's test says Access to Defender for Cloud was denied. | A new role can take a few minutes to work: wait, then test again. If you deployed before ticking Security & compliance, the role isn't there yet. During setup, go Back to Deploy and deploy again. Once connected, add the service with Set up on its row, as in Add services, which re-runs Deploy. |
| Defender for Cloud's Regulatory compliance shows no standards, or Emnode shows no Azure scores yet | Defender for Cloud assesses about every 12 hours, so a newly turned-on plan can take a while to fill Regulatory compliance. Emnode collects once a day: if today's collection ran before the plan was on, the scores arrive the next day. A standard only shows once the subscription has resources it applies to, and Emnode leaves out a standard none of whose controls could be assessed. |
| A paid plan is on, but Emnode still says the subscription has no Defender for Cloud plan | Microsoft gives compliance standards with any paid plan except Defender for Servers Plan 1 and Defender for APIs Plan 1. If one of those is your only paid plan, switch Defender CSPM to On as well, as in Not yet. Check you turned it on in the subscription Emnode reads: on Emnode's Connections, it's listed under Subscriptions. |
| Some subscriptions are missing from Compliance Overview | Emnode scores each subscription with a qualifying paid plan and leaves out the rest. Turn a plan on in each one you want scored. To read compliance from a subscription Emnode doesn't connect yet, add it with Security & compliance. |
| Your Azure bill for Defender for Cloud is higher than you expected | Defender CSPM charges for each server, database and storage resource it covers, after the first 30 days, and every other plan that's on bills on its own terms. In Environment settings, open the subscription and check the Status column on Defender plans; switch off any plan you don't need, then click Save. Emnode needs only one qualifying plan. To stop paying for Defender CSPM, first pause Security & compliance in Emnode, then switch the plan Off. |
Frequently asked questions
What does it cost?
Foundational CSPM is free. Defender CSPM is free for 30 days the first time you turn it on in a subscription, then charged per billable resource a month: only servers, databases and storage resources count. Its price shows beside it on Defender plans, and Microsoft bills it on your Azure invoice. See Foundational CSPM and Defender CSPM (opens in a new tab) and Microsoft's cost calculator (opens in a new tab).
Why isn't the free Foundational CSPM enough?
Foundational CSPM gives you the Microsoft cloud security benchmark's recommendations and a secure score. Emnode reads regulatory compliance results, each standard's passed and failed controls, and Azure only provides those once a paid Defender plan is on. Without one, Emnode's test passes with a note and no scores appear.
I already pay for another Defender plan. Do I need Defender CSPM?
Usually not. Microsoft gives compliance standards with any paid Defender plan except Defender for Servers Plan 1 and Defender for APIs Plan 1, so if you run, say, Defender for Storage or Defender for Servers Plan 2 in that subscription, Emnode can read it already. If neither applies, Defender CSPM is the plan to choose: it's Microsoft's posture plan, and Emnode doesn't use what the workload plans add, such as security alerts.
Which standards should I use?
Keep the Microsoft cloud security benchmark, which Defender for Cloud assesses by default. Emnode scores every standard Defender reports for the subscription, so if you need another for an audit, such as ISO 27001 or CIS Azure Foundations, add it in Regulatory compliance with Manage compliance standards. Adding one needs Owner or Policy Contributor.
What does Emnode read from Defender for Cloud?
Each standard's count of passed and failed controls, for each subscription it reads. Emnode turns those into the compliance scores in Compliance Overview. It doesn't show Defender's individual failing controls, secure score, recommendations or security alerts. Its role can read Defender for Cloud's data but can't change anything.
Does it cover all my subscriptions?
Emnode reads its main subscription and every subscription you add, as long as Security & compliance is on. Defender plans are per subscription, so each one needs its own qualifying plan before it's scored.
How often does Emnode update?
Once a day. Defender for Cloud reassesses about every 12 hours, so a fix you make in Azure shows in Emnode within a day or so.
Can I turn it off later?
Yes. To stop Emnode reading it, pause Security & compliance. To stop Azure charging, open Environment settings, select the subscription, switch Defender CSPM to Off in the Status column and click Save. Foundational CSPM stays on, free.
Further reading
- MicrosoftFoundational CSPM and Defender CSPM (opens in a new tab)What the free and paid posture plans include, and which resources Defender CSPM bills for.
- MicrosoftEnable Defender CSPM (opens in a new tab)Turning the plan on for a subscription, and its optional components.
- MicrosoftRegulatory compliance in Defender for Cloud (opens in a new tab)How standards and their controls are assessed, and the standards you can add.
- MicrosoftThe Microsoft cloud security benchmark (opens in a new tab)The standard Defender for Cloud assesses by default, and the one the steps keep.
- MicrosoftYour Defender for Cloud free trial (opens in a new tab)The 30 days each plan gets in each subscription, and how to see what's left.
- MicrosoftEstimate Defender for Cloud costs (opens in a new tab)Microsoft's calculator for what a plan would cost across your subscriptions.