Identifying Security Risks with Defender CSPM
This lesson explains how Defender CSPM adds the context that finds the risks that matter.
Learning outcomes
After completing this lesson, you will be able to:
- Explain the role of the cloud security graph.
- Describe attack path analysis and choke points.
- Use cloud security explorer for a question.
- Explain risk prioritization.
The problem of volume
Foundational CSPM tells a team what is misconfigured, and in a large estate that can mean thousands of items. Not all of them matter equally. A public IP address on a test VM with no data is very different from the same weakness on a server that holds a credential for a production database. Defender CSPM adds context: it knows what is exposed to the internet, what holds sensitive data, what has vulnerabilities and which identities have which rights. By joining these facts, it can show which weaknesses combine into a real risk.
The basis for this is the cloud security graph, a database of assets and their relationships. Billing is per billable resource, including VMs, storage accounts and SQL servers, and serverless resources became billable in 2026.
What the plan adds
The following table lists the main Defender CSPM capabilities, which Foundational CSPM does not include.
| Capability | What it does |
|---|---|
| Attack path analysis | Shows how an attacker could move to a critical resource |
| Cloud security explorer | Queries the security graph |
| Risk prioritization | Ranks recommendations by real exposure and importance |
| Agentless VM scanning | Finds vulnerabilities and secrets with no agent |
| Data security posture management | Discovers sensitive data in cloud stores |
| AI security posture management | Discovers AI resources, and assesses their posture |
| Code-to-cloud mapping | Connects a running container to the code that produced it |
| Governance rules | Assigns owners and due dates |
| Regulatory compliance assessments | Adds frameworks beyond the default |
| External attack surface management | Includes an internet-facing view of assets |
Defender CSPM capabilities
Attack path analysis
An attack path is a chain of steps by which an attacker could move from an entry point to a target. For example, an internet-exposed VM with a critical vulnerability and a managed identity that can read a storage account holding sensitive data forms a path: the attacker exploits the VM, takes the identity's token, and reads the data. Each individual finding might rank as medium, yet together they form a critical risk.
Defender for Cloud generates these automatically, and refreshes them regularly. Each path shows its entry point, the steps, the target, and the recommendations that would break it. A choke point is a place where many paths meet. Fixing one choke point can remove many paths at once, which makes it far more efficient than handling each one separately.
The Microsoft Defender portal also offers attack paths through Security Exposure Management, covering identities and devices as well as clouds. Defender for Cloud's experience concentrates on cloud resources.
The following diagram shows two attack paths meeting at a choke point.

Cloud security explorer
Attack paths are predefined patterns, but a team may have a question of its own. Cloud security explorer lets a person build a query against the graph, without code. A query chooses a resource type, and adds conditions, such as whether it has sensitive data or is exposed to the internet. Templates cover common questions.
Typical questions include the following.
- Which internet-exposed VMs have high-severity vulnerabilities and can reach a storage account?
- Which storage accounts with sensitive data allow public access?
- Which containers are running an image with a critical vulnerability?
- Which machines hold a secret that can authenticate to another resource?
This is useful in incident response as well. When a new vulnerability is announced, a query shows at once where the affected software runs, and which of those places are exposed.
Explorer or attack paths?
Risk prioritization
With Defender CSPM, recommendations receive a risk level: Critical, High, Medium, Low or Not evaluated. Unlike a fixed severity, the risk level considers factors such as internet exposure, sensitive data, the potential for lateral movement, and the existence of an attack path. A team can sort by risk, rather than by severity.
Critical assets can be defined, so that the most important resources weigh more heavily. The practical result is a short list of items that a team can complete, in place of a long one that nobody finishes.
-
Review attack paths
Begin with those of critical risk.
-
Find choke points
Look for a fix that breaks several paths.
-
Assign owners
Use governance rules to route the work.
-
Fix and verify
Remediate, and confirm that the path has gone.
-
Explore
Use cloud security explorer to find similar conditions elsewhere.
Working through risk
Ordering the work
A team has one week. Its dashboard shows 800 medium-severity recommendations on test VMs, and a single attack path of critical risk. The path runs from an internet-exposed VM with a known vulnerability, through a managed identity, to a storage account with customer data. What should the team do first, and what is the most efficient fix?
Start with the attack path, because risk matters more than count. Examine each link: patching the VM closes the entry, removing internet exposure does the same, and narrowing the managed identity's role removes the connection to the data. Doing the narrowing as well as the patch gives defence in depth, and the link that is shared with other paths should come first.
Working through the 800 findings would improve the secure score, but it would leave the most dangerous route open. Enabling a new compliance standard would add items, not reduce risk.
Why could three medium findings be more urgent than one high finding?
Show answer
Together they might form an attack path to a critical resource, which is what risk context reveals.
Exam Tips
Remember for the exam
- Defender CSPM adds context; Foundational CSPM gives only findings.
- Fix choke points first to break many paths at once.
- Cloud security explorer answers your own questions over the graph.
- Risk level is contextual, unlike a fixed severity.