Microsoft Defender for Cloud and Secure Access: Secure Score, Recommendations, Just-in-Time Access and Security Alerts
What It Does
- Posture management (CSPM): finds misconfigurations and gives a secure score
- Workload protection (CWPP): threat detection for servers, containers, storage, databases and more
- Works for Azure, AWS, GCP and on-premises (with Arc)
Free Features and Defender Plans
| Level | What you get |
|---|---|
| Foundational CSPM (free) | Secure score, recommendations, asset inventory |
| Defender CSPM (paid) | Attack path analysis, governance, agentless scanning |
| Defender plans (paid) | Per-workload protection: Servers, App Service, Storage, SQL, Containers, Key Vault, and more |
bash
az security pricing list -o table
az security pricing create -n VirtualMachines --tier Standard
az security assessment list --query "[?status.code=='Unhealthy'].{name:displayName, resource:resourceDetails.id}" -o table
az security alert list -o table
Secure Score and Recommendations
- Each recommendation (for example enable MFA, close management ports, apply system updates, restrict storage access) adds to the score when fixed
- Use the Fix button for quick remediation, Exempt with a reason, or assign an owner and due date with governance rules
Regulatory Compliance
- Maps controls to standards such as Microsoft cloud security benchmark, ISO 27001, PCI DSS, NIST
- Add standards in Environment settings and review failing controls
Just-in-Time (JIT) VM Access
- Management ports stay closed. A user requests access for a few hours from their IP and Defender adds a temporary NSG rule
- Needs Defender for Servers Plan 2 and an NSG or Azure Firewall
- Configure per VM with allowed ports, maximum time and source IP rules
- Open the VM in Defender for Cloud and enable JIT
- Choose ports (22, 3389, 5985) and maximum request time
- A user clicks Request access and connects within the window
- Rule expires automatically
Other Hardening Features
| Feature | Purpose |
|---|---|
| Adaptive application controls | Allowlist of apps allowed to run |
| File integrity monitoring | Detect changes to critical files |
| Vulnerability assessment | Scan servers and container images |
| Security alerts | Detect brute force, suspicious processes, malware |
| Workflow automation | Run Logic Apps on alerts |
| Continuous export | Send findings to Log Analytics, Event Hubs |
Fix-It Workflow
- Open Recommendations and sort by impact
- Fix high-impact items first (MFA, public exposure, patching)
- Re-check the secure score after changes
- Review alerts daily and act on high severity
- Report progress monthly
Practice
- Open Defender for Cloud and note your secure score
- Fix two recommendations
- Enable JIT on a test VM and request access
- Add the ISO 27001 standard and read the failing controls
Conclusion
Defender for Cloud measures your security posture, protects workloads and reduces exposure with tools such as JIT access. Work through recommendations by impact and review alerts regularly.
Quick Summary: what; plans; score; compliance; JIT; hardening; workflow.

