Manage security posture with Defender for Cloud
Defender CSPM risks and attack paths, compliance frameworks, workload protection plans, AWS and GCP connectors, Defender Vulnerability Management settings, and Defender EASM.
- 20 min
- 6 concepts
- Try it yourself
- 4-question check
Learn
Defender for Cloud is a cloud-native application protection platform: it finds the weaknesses (posture), shows how attackers could chain them (attack paths), and detects attacks on workloads (protection), across Azure, AWS, GCP and on-premises.
- 1
Identify security risks by using Defender CSPM
Defender CSPM adds the cloud security graph, attack path analysis (chains from internet exposure to sensitive data or critical assets), cloud security explorer (query the graph), risk-based prioritisation of recommendations, agentless scanning, data security posture and governance rules. Fix the recommendations that break the most attack paths first.
Remember: Prioritise by attack path, not by count.
- 2
Evaluate compliance against security frameworks by using Defender for Cloud
Assign standards (Microsoft cloud security benchmark by default, plus CIS, NIST, ISO 27001, PCI DSS, SOC 2, AWS and GCP benchmarks) and track control pass rates on the regulatory compliance dashboard. Export results continuously to Log Analytics or Event Hubs.
Remember: Continuous export sends compliance data to a workspace.
- 3
Enable and configure Defender for Cloud workload protection plans
Plans: Servers, Containers, Storage, Databases (SQL, open-source, Cosmos DB), App Service, Key Vault, Resource Manager, APIs and AI services. Enable per subscription in Environment settings, configure plan settings (for example agentless scanning, malware scanning), and route alerts to Defender XDR and email.
Remember: Each workload type has its own plan.
- 4
Connect hybrid cloud and multicloud environments to Defender for Cloud, including Amazon Web Services (AWS) and Google Cloud Platform (GCP)
Create an AWS connector (deploys a CloudFormation template granting read roles) or GCP connector (organisation or project, via a script), choose plans (CSPM, Servers, Containers, Databases), and optionally auto-provision Azure Arc. On-premises servers connect through Azure Arc.
Remember: AWS: CloudFormation. GCP: setup script.
- 5
Configure Microsoft Defender Vulnerability Management settings for Azure VMs
Defender for Servers uses Defender Vulnerability Management as the built-in vulnerability scanner (agent-based via Defender for Endpoint, or agentless). Configure the vulnerability assessment solution, review findings in the 'Machines should have vulnerability findings resolved' recommendation, and use DVM in the Defender portal for software inventory and remediation tracking.
Remember: Built-in scanner = Defender Vulnerability Management.
- 6
Discover unprotected assets and vulnerabilities by using Microsoft Defender External Attack Surface Management (EASM)
Defender EASM discovers your internet-facing assets (domains, IPs, hosts, certificates, web apps) from seed information, the way an attacker would, and flags vulnerabilities, expired certificates and unmanaged or forgotten assets (shadow IT). Defender CSPM includes external attack surface insights.
Remember: What can attackers see from the internet? EASM.
Attack path example
- Internet exposed VMPort 22 open to the internet.
- Critical vulnerabilityRemote code execution CVE.
- Managed identityHas Storage Blob Data Reader.
- Sensitive dataStorage account with customer records.
- Fix one linkClose the port or remove the role to break the path.
Try it
Which Defender for Cloud capability helps?
This interactive part needs JavaScript.
In the portal
- Attack pathsAzure portal: Microsoft Defender for Cloud > Attack path analysis
- Cloud security explorerAzure portal: Microsoft Defender for Cloud > Cloud Security Explorer
- Environment settingsAzure portal: Microsoft Defender for Cloud > Environment settings > Add environment
- Defender EASMAzure portal: Microsoft Defender EASM > Create
Key terms
Click a card to see the definition.
Check your understanding
4 questions. Score 80% or more and these skills are marked as confident in your SC-500 study plan.
Which plan provides attack path analysis?
Attack paths are a Defender CSPM feature.
How is AWS connected to Defender for Cloud?
The connector deploys roles via CloudFormation.
Which discovers internet-facing assets you didn't know you had?
Outside-in discovery.
What's the built-in VM vulnerability scanner?
DVM is integrated in Defender for Servers.
Sources
- Microsoft Learn: Cloud security posture management
- Microsoft Learn: Attack path analysis
- Microsoft Learn: Connect AWS to Defender for Cloud
- Microsoft Learn: Connect GCP to Defender for Cloud
- Microsoft Learn: What is Defender EASM?
Facts in this lesson are from Microsoft Learn. This site isn't affiliated with Microsoft.