Lesson 1 of 6 Managing Posture with Defender for Cloud

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.

CapabilityWhat it does
Attack path analysisShows how an attacker could move to a critical resource
Cloud security explorerQueries the security graph
Risk prioritizationRanks recommendations by real exposure and importance
Agentless VM scanningFinds vulnerabilities and secrets with no agent
Data security posture managementDiscovers sensitive data in cloud stores
AI security posture managementDiscovers AI resources, and assesses their posture
Code-to-cloud mappingConnects a running container to the code that produced it
Governance rulesAssigns owners and due dates
Regulatory compliance assessmentsAdds frameworks beyond the default
External attack surface managementIncludes an internet-facing view of assets
Match the pairs

Defender CSPM capabilities

Exam skills 4.1.1

Match each Defender CSPM capability with what it does.

Log in to try this activity Interactive activities are free with an account.

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.

An attack path and a choke point. An internet-exposed VM with a critical vulnerability has a managed identity that can read a storage account holding sensitive data: an attacker exploits the VM, takes the identity's token and reads the data. Each finding alone might rank as medium, but together they form a critical risk. Where many paths meet, as at the managed identity here, fixing that one choke point breaks every path through it.
Fixing a choke point removes many paths at once.

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.

Scenario questions

Explorer or attack paths?

Exam skills 4.1.1

Choose the Defender CSPM tool for each question.

Log in to try this activity Interactive activities are free with an account.

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.

  1. Review attack paths

    Begin with those of critical risk.

  2. Find choke points

    Look for a fix that breaks several paths.

  3. Assign owners

    Use governance rules to route the work.

  4. Fix and verify

    Remediate, and confirm that the path has gone.

  5. Explore

    Use cloud security explorer to find similar conditions elsewhere.

Put in order

Working through risk

Exam skills 4.1.1

Put the steps of risk-based remediation in order.

Log in to try this activity Interactive activities are free with an account.
Worked example

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.

Check yourself

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.