Designing Threat Protection and Security Operations: Defender for Cloud, Sentinel, Network Controls and Secure Applications
Prevent, Detect, Respond
| Phase | Controls |
|---|---|
| Prevent | Identity controls, segmentation, private endpoints, Policy, patching, secure code and images |
| Detect | Defender for Cloud alerts, Sentinel analytics, logs and threat intelligence |
| Respond | Playbooks, isolation, key rotation, restore from immutable backups, incident process |
Defender for Cloud Design
- Turn on Defender CSPM for posture and attack paths where justified
- Enable workload plans by resource risk: Servers, Containers, Storage, SQL, App Service, Key Vault, Databases
- Use regulatory compliance with the standards your auditors need
- Send alerts to Sentinel or ticketing with continuous export
- Enable auto-provisioning of agents and governance rules that assign owners to recommendations
Sentinel Design
| Decision | Guidance |
|---|---|
| Workspace | One central workspace where possible. More only for data residency, ownership or compliance |
| Data sources | Entra ID, Azure activity, Defender products, Microsoft 365, firewalls, key services |
| Cost | Pay per GB ingested. Use commitment tiers, filter noisy logs and use cheaper table plans for low-value data |
| Detections | Start with built-in and Microsoft rules, tune, then add custom KQL rules |
| Automation | Automation rules and playbooks for common steps such as enrich, notify, disable user |
| Access | RBAC roles for readers, responders and contributors. Consider multi-tenant views via Lighthouse |
Network Security Design
- Segment by tier and trust. Default deny between segments
- Hub firewall for egress filtering and east-west inspection
- Private endpoints and no public IPs by default
- DDoS Protection for public IPs, WAF at the edge
- Bastion and JIT for admin access
- Collect flow logs and use Traffic Analytics
Application Security
- Threat model early (STRIDE). Security requirements in user stories
- DevSecOps: secret scanning, dependency scanning, SAST, container scanning and IaC scanning in pipelines
- Validate input, use parameterized queries, secure session handling
- Use Entra ID for sign-in and managed identity for service calls
- Protect APIs with APIM and token validation
- Keep WAF in Prevention mode after tuning
Incident Response Plan
- Define roles and contacts and severity levels
- Prepare playbooks: compromised account, ransomware, data leak, DDoS
- Keep immutable backups and test restore
- Practice with tabletop exercises
- After an incident: lessons learned and control improvements
Design Table
| Threat | Control |
|---|---|
| Stolen credentials | MFA, Conditional Access, PIM, Identity Protection |
| Exposed storage | Policy deny public access, Defender for Storage |
| Malware on VMs | Defender for Servers, patching, JIT |
| Web attacks | WAF, secure coding |
| Data exfiltration | Private endpoints, firewall egress rules, DLP, Purview |
| Ransomware | Immutable backups, least privilege, segmentation |
Practice
- Choose Defender plans for a mixed estate of VMs, SQL, storage and AKS
- List five Sentinel data sources for a SaaS company
- Write a short ransomware playbook outline
Conclusion
Design security as prevent, detect and respond. Combine Defender for Cloud posture and protection, Sentinel monitoring and automation, segmented networks, secure development and a rehearsed incident plan.
Quick Summary: phases; Defender; Sentinel; network; applications; incident plan; table.

