Lesson 2 of 3 Defender for Cloud Standards and Compliance

Working with Security Standards and Recommendations

This lesson explains how standards produce recommendations, how scores are calculated, and how findings are remediated or exempted.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe the Microsoft Cloud Security Benchmark.
  • Choose how to act on a recommendation.
  • Explain the two secure score models.
  • Describe governance rules and exemptions.

Security standards

A security standard is a set of rules. Defender for Cloud assigns the Microsoft Cloud Security Benchmark (MCSB) by default, and it begins assessing as soon as the service is enabled. MCSB is built on industry frameworks, and it covers controls across identity, network, data and more. An updated version, MCSB v2, is available in preview, adding risk-based controls and AI coverage.

Other standards can be added at a subscription, AWS account or GCP project. Each one is a separate view of the same resources. A resource might pass one standard and fail another, because each asks different questions. Organizations can also create custom standards from built-in or custom recommendations, and custom recommendations can be written as Azure Policy for Azure, or as KQL queries with Defender CSPM.

Anatomy of a recommendation

A recommendation has a description, remediation steps, affected resources, a severity, and sometimes a Fix button. It shows a risk level when Defender CSPM adds context. The list can feel overwhelming, so use severity, risk level and asset criticality to decide on the order.

The options for acting on a recommendation are as follows.

OptionWhat it doesWhen to use it
Quick fixApplies the correction directly from the portalA straightforward setting, such as enabling a feature
Enforce or denySets the related policy to block noncompliant new resourcesStopping new problems after old ones are fixed
Workflow automationRuns a Logic Apps workflow on a triggerNotifying an owner or opening a ticket
Governance ruleAssigns an owner and due date, needing Defender CSPMDriving remediation at scale
ExemptRemoves a resource from assessment, with a reasonA real risk acceptance, or a mitigation by other means

An exemption has one of two categories: Mitigated, meaning that the risk is handled another way, or Risk accepted. Exemptions create a policy exemption with an audit trail, and they can have an expiry date. That is much better than ignoring a finding, because the reason is recorded.

Scenario questions

Acting on a recommendation

Exam skills 1.3.3

Choose the right action for each recommendation.

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

Secure score

Defender for Cloud has two score models, which are not comparable. The classic Secure Score in the Azure portal groups recommendations into security controls, each with a maximum number of points, such as ten for enabling MFA and eight for securing management ports. It rewards fully fixing a control: points arrive when all resources in a control are healthy. The score is recalculated every eight hours, and preview recommendations are excluded.

The Cloud Secure Score in the Defender portal is risk-based, on a scale from 0 to 100, and it takes asset risk factors into account. In both models, a higher score indicates lower identified risk.

Because the classic model awards points per control, a practical tip is to finish one control completely rather than partly addressing several. Note that a score reflects only the recommendations in the default standard, so a high score does not prove that an environment is secure.

True or false

Secure score models

Exam skills 1.3.3

Check how the two secure score models work.

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

Governance rules and automation

In a large organization, the security team finds problems and many other teams must fix them. Governance rules, part of Defender CSPM, assign an owner and a due date to recommendations automatically, based on conditions such as severity or resource scope. Owners receive regular emails, and an optional grace period keeps an assigned finding from affecting the secure score until it becomes overdue.

Workflow automation reacts to a recommendation or alert by starting a Logic Apps workflow, for example to post to a team channel or create a ticket. Continuous export sends alerts, recommendations and scores to a Log Analytics workspace or Event Hubs, for use in Microsoft Sentinel or another SIEM.

Match the pairs

Automating follow-up

Exam skills 1.3.3

Match each Defender for Cloud feature with what it does.

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

Handling a legitimate exception

A recommendation states that a storage account should restrict network access, but the account hosts a public website, and a WAF protects access to it. The security manager has formally accepted the design. The company wants the finding to stop affecting the score, with a record that can be audited. What should you do?

Create an exemption on the resource, with the category Mitigated, because a compensating control exists, and include a description and an expiry date for review. The resource then leaves the assessment, and the record remains in the policy exemption.

Dismissing the finding with no record would fail the audit requirement. Disabling the policy would remove the check for all resources. Moving the resource to a new subscription would not address the requirement, and it would hide the decision.

Check yourself

Why might fixing five of ten resources in a control add no points to the classic Secure Score?

Show answer

Points are earned when all resources in a control are healthy.

Exam Tips

Remember for the exam

  • MCSB is the default standard, and it starts when Defender for Cloud is enabled.
  • Exemptions record a reason and can expire.
  • Preview recommendations do not affect the secure score.
  • Governance rules need Defender CSPM.