Strengthening Your Cloud Security Posture with Microsoft Defender for Cloud
The hardest thing to say honestly about a cloud environment is how secure it is right now, today, not at the last audit and not once the next project ships. For a long time the only way to answer was a point in time assessment that was out of date the moment the next resource was deployed.
Microsoft Defender for Cloud exists to close that gap. It continuously assesses your Azure resources (and AWS and GCP, if you connect them), scores your posture, tells you in plain language what to fix, and maps all of it against the compliance frameworks you actually report against. I lean on it heavily, both as a security control and as a source of audit evidence.
Prerequisites
- An Azure subscription with the Security Admin or Owner role.
- A few resources deployed, so the assessments have something to look at.
- Nothing to install. Defender for Cloud is already switched on in a free, foundational mode for every subscription.
1. Understand the two tiers
Defender for Cloud has two layers, and it is worth knowing which one you are using.
- The free foundational CSPM tier gives you Secure Score, security recommendations and the compliance dashboard. This is on by default and costs nothing.
- The paid Defender plans add workload protection, things like threat detection for servers, storage, SQL, containers and Key Vault. You enable these per resource type and they are billed per resource.
My usual approach is to live in the free tier first, work the recommendations down, and then turn on the paid plans for the workloads that genuinely warrant active threat protection rather than enabling everything blindly.
2. Read your Secure Score honestly
The Secure Score is a single percentage that summarises how well your environment follows Microsoft’s security recommendations. It is tempting to treat it as a vanity metric, but the value is in the breakdown, not the number. Each recommendation is grouped into a security control, and each control carries a weighting toward the overall score.
az security secure-scores list -o table
When I look at a new environment, I do not try to get to 100. I sort the recommendations by the points they are worth and the number of resources they affect, and I start at the top. A handful of high impact items, like enabling MFA for accounts with owner permissions or restricting management ports, almost always move the score more than a long tail of minor fixes.
3. Work the recommendations
The Recommendations blade is where the real work happens. Each item tells you what is wrong, why it matters, which resources are affected, and how to remediate it, often with a Fix button that applies the change for you.
A few that come up again and again and are worth prioritising:
- Management ports (RDP, SSH) exposed to the internet, which Just in time VM access solves neatly.
- Storage accounts and databases allowing public network access.
- Subscriptions where MFA is not enforced for privileged accounts.
- Resources without encryption at rest configured to your requirements.
Treat the list as a backlog. Knock out the high value items, then make the rest part of your normal operational rhythm rather than an annual scramble.
4. Use the Regulatory Compliance dashboard
This is the feature that ties Defender for Cloud directly to the world of governance and audit, and it is the one I reach for most. The Regulatory compliance dashboard maps the technical assessments onto recognised standards, ISO 27001, SOC 2, PCI DSS, NIST and others, and shows you control by control where you pass and where you fall short.
What makes it genuinely useful at audit time is that each control links to the underlying evidence, the actual resources and their state. When an assessor asks “show me that encryption is enforced across your databases”, you are not assembling screenshots by hand, you are pointing at a live, dated view of exactly that control. You add a standard from the Manage compliance policies option, assign it to your scope, and from then on it tracks continuously.
5. Make it continuous, not something you check occasionally
A posture tool only helps if someone acts on it, so wire it into your operations.
- Set up workflow automation to fire a Logic App when a high severity recommendation or alert appears, so it lands in your ticketing system or a Teams channel instead of waiting to be noticed.
- Turn on continuous export to a Log Analytics workspace, or better, into Microsoft Sentinel, so posture data and alerts sit alongside the rest of your security telemetry for correlation and long term retention.
az security pricing create --name "VirtualMachines" --tier "standard"
That command enables the Defender for Servers plan, which is what unlocks the deeper threat detection on your VMs once you are ready to move beyond posture alone.
Closing thoughts
Defender for Cloud answers the “how secure are we right now” question continuously, in a language both engineers and auditors accept. Start in the free tier, drive your Secure Score up by tackling the highest impact recommendations first, lean on the regulatory compliance dashboard so your security work doubles as audit evidence, and automate the rest so nothing depends on someone remembering to look. Posture management is never really finished, and Defender for Cloud is what makes staying on top of it manageable.