azure-security-benchmark
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "azure-security-benchmark" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b4ba36720a90897f185756bb0bc3d9e619b216a51b3f2cab5e45152813eb63dc. Verify the upstream source and version against https://github.com/vinayaklatthe/microsoft-security-skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Microsoft Cloud Security Benchmark (MCSB) guide — The official Microsoft collection of cloud security control best practices mapped to industry standard frameworks and monitorable via Microsoft Defender for Cloud. Covers control domains, baseline application, and compliance tracking. Applicable to MCSB, Azure security baselines, CIS/NIST mappings, and Defender for Cloud compliance monitoring scenarios.
Introduction source: third_party · vinayaklatthe · 0.1.0 Reference
SkillPi interpretation
- Tasks
- Guidance for the Microsoft Cloud Security Benchmark (MCSB) — Microsoft's canonical set of cloud security best-practice controls mapped to industry frameworks and monitored in Microsoft Defender for Cloud. Covers control domains, applying the benchmark, and compliance tracking. WHEN: Microsoft Cloud Security Benchmark, MCSB, Azure Security Benchmark, security baseline controls, CIS NIST mapping, Defender for Cloud regulatory compliance, cloud security best practices, security controls framework.
- Audience
- Use this skill when the user wants a recognised, framework-mapped cloud security baseline, needs to translate compliance obligations into concrete Azure controls, or is trying to prioritise where to start with Defender for Cloud recommendations. Do not use this skill** for: Tactical Defender for Cloud remediation work (use `defender-for-cloud-hardening`) Azure Policy authoring details (use `azure-policy`) Workload-specific threat modelling (use `threat-modelling`)
- Testing
- Not tested
Browse files
Frontmatter
name: azure-security-benchmark
description: "Guidance for the Microsoft Cloud Security Benchmark (MCSB) — Microsoft's canonical set of cloud security best-practice controls mapped to industry frameworks and monitored in Microsoft Defender for Cloud. Covers control domains, applying the benchmark, and compliance tracking. WHEN: Microsoft Cloud Security Benchmark, MCSB, Azure Security Benchmark, security baseline controls, CIS NIST mapping, Defender for Cloud regulatory compliance, cloud security best practices, security controls framework."
license: MIT
metadata:
author: Microsoft
version: "0.1.0"Microsoft Cloud Security Benchmark (MCSB)
The Microsoft Cloud Security Benchmark (MCSB, successor to the Azure Security Benchmark) is Microsoft's canonical, prescriptive set of cloud security best practices, with controls mapped to CIS, NIST SP 800-53, PCI DSS, and ISO 27001, and monitored natively in Microsoft Defender for Cloud. MCSB is the default initiative in Defender for Cloud - you are already being scored against it.
When to use
Use this skill when the user wants a recognised, framework-mapped cloud security baseline, needs to translate compliance obligations into concrete Azure controls, or is trying to prioritise where to start with Defender for Cloud recommendations.
Do not use this skill for:
- Tactical Defender for Cloud remediation work (use
defender-for-cloud-hardening) - Azure Policy authoring details (use
azure-policy) - Workload-specific threat modelling (use
threat-modelling)
Pick the right MCSB control domain first
MCSB has 12 control domains. Do not try to fix them in parallel - pick by risk + dependency:
| Priority | Domain | Why this order | Typical first action |
|---|---|---|---|
| P0 | Identity Management + Privileged Access | Identity is the new perimeter; admin compromise = game over | Enforce MFA, remove standing Global Admin via PIM |
| P0 | Logging & Threat Detection | Cannot respond without visibility | Enable diagnostic settings on subscriptions + Sentinel/Defender |
| P1 | Network Security | Reduces blast radius of compromised identities | Default-deny NSGs, private endpoints for PaaS |
| P1 | Data Protection | Encryption, key management, classification | Customer-managed keys for crown-jewel data, sensitivity labels |
| P1 | Asset Management | Cannot protect what you cannot see | Tag policy + resource inventory |
| P2 | Posture & Vulnerability Management | Continuous improvement loop | Onboard Defender for Servers, weekly Secure Score review |
| P2 | Endpoint Security + Backup & Recovery | Resilience baseline | Defender for Endpoint + Azure Backup with immutable vault |
| P2 | Incident Response | Process maturity | Runbook + tabletop with Defender XDR / Sentinel |
| P3 | DevOps Security | Shift-left controls | GitHub Advanced Security or Azure DevOps with Defender for DevOps |
| P3 | Governance & Strategy | Sustains the others | Azure Policy + management group structure |
Rule of thumb: an MCSB Secure Score of 65-75% is a realistic working target for a mature tenant; >85% typically means you are auditing recommendations that do not apply to your workloads. Validate before chasing 100%.
Approach
- Confirm MCSB is the active baseline — In Defender for Cloud → Regulatory compliance, MCSB is enabled by default but a tenant may have disabled it. Re-enable if missing. Verify: Regulatory compliance dashboard shows "Microsoft cloud security benchmark" as an active standard with current pass/fail percentages.
- Baseline your Secure Score — Note current score per subscription and per control domain. This is the number you will move; without a baseline you cannot prove progress to leadership. Verify: screenshot or export of Secure Score per subscription before remediation starts.
- Map MCSB to the frameworks you are obligated to — Do not treat CIS, NIST, ISO, PCI as separate workstreams. Use MCSB as the canonical implementation and the per-framework mappings to evidence compliance. Reduces 4 audits worth of work to 1. Verify: Regulatory compliance dashboard shows your obligated frameworks alongside MCSB with overlap visible.
- Triage by the priority table above — Work P0 domains across all subscriptions first. Within each domain, sort recommendations by Secure Score impact (descending) and affected resources (descending). Top 5 per domain = quarter's work for most teams.
- Use service baselines for the implementation detail — MCSB controls are abstract ("Enable encryption in transit"). The per-service security baselines translate to concrete Azure config (e.g. App Service: TLS 1.2 minimum, HTTPS-only on). Always read the service baseline before designing the fix. Verify: a deployed resource passes its service baseline check in Defender for Cloud.
- Enforce with Azure Policy — Recommendations alone do not prevent regression. Promote each remediated control to a policy in Audit mode for 2 weeks, then Deny or DeployIfNotExists. This is what stops the next deployment breaking your score. Verify: a test deployment that violates the policy is blocked (Deny) or auto-remediated (DeployIfNotExists).
- Govern the programme — Assign a domain owner per MCSB control domain. Monthly Secure Score review at security council. Quarterly framework-mapping reconciliation when compliance audits approach.
Guardrails
- MCSB is a baseline, not a workload threat model. A 100% Secure Score does not mean
your application is secure - it means your platform configuration meets defaults. Pair
with
threat-modellingfor workload-specific risk. - Secure Score is directional, not gospel. Some recommendations do not apply to all workloads (e.g. "Enable Microsoft Defender for SQL" is irrelevant for a tenant with no SQL). Use the "Not applicable" workflow rather than ignoring.
- Recommendations affect cost. Enabling Defender plans, Customer-Managed Keys, and immutable backup vaults add real Azure spend. Cost-model before mass-enabling.
- Do not rely on Quick Fix for production. Defender for Cloud's auto-remediate Quick Fix is great for dev/test; in production review the underlying Bicep/ARM change first.
- Map first, remediate second. Walking into a remediation sprint without the framework-mapping work means duplicating effort the next time an auditor walks in.
- Service baselines lag the platform. Treat baselines as a strong default, but check the service's own "Security best practices" doc for newer guidance.
Common anti-patterns
- "Chase 100% Secure Score." Diminishing returns past ~75-85%; teams burn out auditing recommendations that do not apply.
- "Treat MCSB and CIS as separate projects." Doubles effort; MCSB is the implementation layer, CIS is one of many output mappings.
- "Enable all Defender plans without budgeting." Bill surprise next month, then a scramble to disable - which destroys your score and the programme credibility.
- "Recommendations without policies." Fix today, new deployment regresses tomorrow. Policy is what makes the fix stick.
- "Ignore Not Applicable." Score gets dragged down by recommendations that should be formally excluded, masking the real gaps.
Example prompts
Map my Azure controls to the Microsoft Cloud Security Benchmark (MCSB).How does MCSB align to CIS and NIST controls?Use the Defender for Cloud regulatory compliance dashboard against MCSB.Which MCSB control domains should I prioritise first?What is a realistic Secure Score target for my tenant?Enforce MCSB controls with Azure Policy.
Microsoft Learn
- MCSB overview: https://learn.microsoft.com/security/benchmark/azure/overview
- Introduction & controls: https://learn.microsoft.com/security/benchmark/azure/introduction
- Service security baselines: https://learn.microsoft.com/security/benchmark/azure/security-baselines-overview
- Regulatory compliance dashboard: https://learn.microsoft.com/azure/defender-for-cloud/regulatory-compliance-dashboard
- Secure Score in Defender for Cloud: https://learn.microsoft.com/azure/defender-for-cloud/secure-score-security-controls
- Quick Fix remediation: https://learn.microsoft.com/azure/defender-for-cloud/implement-security-recommendations
Current listing version
0.1.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供 Microsoft 官方云安全基准(MCSB)完整指南,解决企业合规映射与 Secure Score 提升核心痛点
- 明确区分 MCSB 与其他 Skill 的边界(如 defender-for-cloud-hardening),避免功能重叠
Highlights
- 触发词覆盖全面,包含 MCSB、Azure Security Benchmark、CIS/NIST 映射等多种变体
- 提供具体示例 prompts,便于用户准确触发
Areas to improve
-
缺少独立 When to Use 章节 Reported severity: Minor
When to use 内容已融入正文,但未作为独立章节显式呈现
Recommendation: 建议将 When to use 和 Do not use 部分提取为独立章节,提升可读性
Highlights
- Approach 七步法结构清晰,每步含具体验证点
- Guardrails 和 Common anti-patterns 提供关键风险预警
Highlights
- 所有建议基于 Microsoft 官方文档和 Defender for Cloud 实际功能
- 强调 Azure Policy 审计模式先行,避免生产环境直接 Deny 导致中断
- 覆盖成本建模、Not Applicable 流程等关键执行细节
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- learn.microsoft.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.