1---
2name: azure-security
3description: Expert knowledge for Azure Security development including best practices, decision making, security, configuration, integrations & coding patterns, and deployment. Use when securing AKS images, CMK/Key Vault keys, antimalware, Customer Lockbox, or Gov cloud workloads, and other Azure Security related development tasks. Not for Azure Defender For Cloud (use azure-defender-for-cloud), Azure DDoS Protection (use azure-ddos-protection), Azure Firewall (use azure-firewall), Azure Web Application Firewall (use azure-web-application-firewall).
4compatibility: Requires network access. Uses mcp_microsoftdocs:microsoft_docs_fetch or fetch_webpage to retrieve documentation.
5metadata:
6 generated_at: "2026-08-31"
7 generator: "docs2skills/1.0.0"
8---
9
10# Azure Security Skill
11
12This skill provides expert guidance for Azure Security. Covers best practices, decision making, security, configuration, integrations & coding patterns, and deployment. It combines local quick-reference content with remote documentation fetching capabilities.
13
14## How to Use This Skill
15
16> **IMPORTANT for Agent**: Use the **Category Index** below to locate relevant sections. For categories with line ranges (e.g., `L35-L120`), use `read_file` with the specified lines. For categories with file links (e.g., `[security.md](security.md)`), use `read_file` on the linked reference file
17
18> **IMPORTANT for Agent**: If `metadata.generated_at` is more than 3 months old, suggest the user pull the latest version from the repository. If `mcp_microsoftdocs` tools are not available, suggest the user install it: [Installation Guide](https://github.com/MicrosoftDocs/mcp/blob/main/README.md)
19
20This skill requires **network access** to fetch documentation content:
21- **Preferred**: Use `mcp_microsoftdocs:microsoft_docs_fetch` with query string `from=learn-agent-skill`. Returns Markdown.
22- **Fallback**: Use `fetch_webpage` with query string `from=learn-agent-skill&accept=text/markdown`. Returns Markdown.
23
24## Category Index
25
26| Category | Lines | Description |
27|----------|-------|-------------|
28| Best Practices | L34-L58 | End-to-end Azure security guidance: hardening IaaS/PaaS, identity and access, network and operational security, backups and ransomware resilience, secrets management, and service-specific checklists. |
29| Decision Making | L59-L64 | Guidance on choosing Azure security options, including comparing security features in US Gov clouds and selecting appropriate key management (Key Vault, managed keys, BYOK). |
30| Security | L65-L97 | Azure platform and workload security: threat modeling mitigations, AKS image validation, hardware/firmware integrity, Customer Lockbox, CMKs, network/SQL security, and operational controls. |
31| Configuration | L98-L108 | Configuring Azure security features: antimalware, container scanning (Dependabot/Copacetic), firewall rules, CMK encryption, logging/auditing, TLS changes, ransomware protections, and Customer Lockbox alerts. |
32| Integrations & Coding Patterns | L109-L114 | Guides for generating signed SBOMs for container images and scripting Microsoft Antimalware configuration in Azure using PowerShell. |
33| Deployment | L115-L120 | Guides for signing and verifying container images with Notation in Azure Pipelines/GitHub Actions, plus comparing security feature availability in Azure vs Azure Government. |
34
35### Best Practices
36| Topic | URL |
37|-------|-----|
38| Harden Azure Marketplace images before publishing | https://learn.microsoft.com/en-us/azure/security/fundamentals/azure-marketplace-images |
39| Design Azure backup and restore plans against ransomware | https://learn.microsoft.com/en-us/azure/security/fundamentals/backup-plan-to-protect-against-ransomware |
40| Implement Azure security best practices and patterns | https://learn.microsoft.com/en-us/azure/security/fundamentals/best-practices-and-patterns |
41| Apply Azure data security and encryption best practices | https://learn.microsoft.com/en-us/azure/security/fundamentals/data-encryption-best-practices |
42| Use Azure SQL database security checklist | https://learn.microsoft.com/en-us/azure/security/fundamentals/database-security-checklist |
43| Secure Azure IaaS workloads and virtual machines | https://learn.microsoft.com/en-us/azure/security/fundamentals/iaas |
44| Apply Azure identity and access control best practices | https://learn.microsoft.com/en-us/azure/security/fundamentals/identity-management-best-practices |
45| Implement incident response processes for Azure | https://learn.microsoft.com/en-us/azure/security/fundamentals/incident-response-overview |
46| Apply Azure network security best practices | https://learn.microsoft.com/en-us/azure/security/fundamentals/network-best-practices |
47| Apply Azure operational security best practices | https://learn.microsoft.com/en-us/azure/security/fundamentals/operational-best-practices |
48| Secure Azure App Service PaaS applications | https://learn.microsoft.com/en-us/azure/security/fundamentals/paas-applications-using-app-services |
49| Secure PaaS databases with Azure SQL and Synapse | https://learn.microsoft.com/en-us/azure/security/fundamentals/paas-applications-using-sql |
50| Secure PaaS applications using Azure Storage | https://learn.microsoft.com/en-us/azure/security/fundamentals/paas-applications-using-storage |
51| Design and operate secure Azure PaaS deployments | https://learn.microsoft.com/en-us/azure/security/fundamentals/paas-deployments |
52| Detect and respond to ransomware in Azure | https://learn.microsoft.com/en-us/azure/security/fundamentals/ransomware-detect-respond |
53| Prepare Azure environments for ransomware resilience | https://learn.microsoft.com/en-us/azure/security/fundamentals/ransomware-prepare |
54| Harden Azure Firewall Premium for ransomware defense | https://learn.microsoft.com/en-us/azure/security/fundamentals/ransomware-protection-with-azure-firewall |
55| Protect and manage secrets in Azure workloads | https://learn.microsoft.com/en-us/azure/security/fundamentals/secrets-best-practices |
56| Harden Azure Service Fabric clusters and security | https://learn.microsoft.com/en-us/azure/security/fundamentals/service-fabric-best-practices |
57| Implement Microsoft Entra identity security checklist | https://learn.microsoft.com/en-us/azure/security/fundamentals/steps-secure-identity |
58| Prevent Azure subdomain takeover via DNS hygiene | https://learn.microsoft.com/en-us/azure/security/fundamentals/subdomain-takeover |
59
60### Decision Making
61| Topic | URL |
62|-------|-----|
63| Compare security feature availability in US Government clouds | https://learn.microsoft.com/en-us/azure/security/fundamentals/feature-availability |
64| Choose the right Azure key management solution | https://learn.microsoft.com/en-us/azure/security/fundamentals/key-management-choose |
65
66### Security
67| Topic | URL |
68|-------|-----|
69| Enforce AKS image signature validation with Ratify and Azure Policy | https://learn.microsoft.com/en-us/azure/security/container-secure-supply-chain/articles/validating-image-signatures-using-ratify-aks |
70| Implement auditing and logging mitigations with Threat Modeling Tool | https://learn.microsoft.com/en-us/azure/security/develop/threat-modeling-tool-auditing-and-logging |
71| Implement authentication mitigations with Threat Modeling Tool | https://learn.microsoft.com/en-us/azure/security/develop/threat-modeling-tool-authentication |
72| Mitigate authorization threats in Threat Modeling Tool | https://learn.microsoft.com/en-us/azure/security/develop/threat-modeling-tool-authorization |
73| Secure communications based on Threat Modeling Tool findings | https://learn.microsoft.com/en-us/azure/security/develop/threat-modeling-tool-communication-security |
74| Harden configuration management using Threat Modeling Tool mitigations | https://learn.microsoft.com/en-us/azure/security/develop/threat-modeling-tool-configuration-management |
75| Implement cryptography mitigations from Threat Modeling Tool | https://learn.microsoft.com/en-us/azure/security/develop/threat-modeling-tool-cryptography |
76| Secure exception management using Threat Modeling Tool guidance | https://learn.microsoft.com/en-us/azure/security/develop/threat-modeling-tool-exception-management |
77| Apply secure input validation mitigations from Threat Modeling Tool | https://learn.microsoft.com/en-us/azure/security/develop/threat-modeling-tool-input-validation |
78| Protect sensitive data using Threat Modeling Tool mitigations | https://learn.microsoft.com/en-us/azure/security/develop/threat-modeling-tool-sensitive-data |
79| Implement secure session management from Threat Modeling Tool | https://learn.microsoft.com/en-us/azure/security/develop/threat-modeling-tool-session-management |
80| Apply Azure-specific security controls to AI workloads | https://learn.microsoft.com/en-us/azure/security/fundamentals/ai-security-best-practices |
81| Use Azure Certificate Authority roots and requirements | https://learn.microsoft.com/en-us/azure/security/fundamentals/azure-certificate-authority-details |
82| Enforce platform code integrity in Azure production | https://learn.microsoft.com/en-us/azure/security/fundamentals/code-integrity |
83| Understand and configure Azure Customer Lockbox access | https://learn.microsoft.com/en-us/azure/security/fundamentals/customer-lockbox-faq |
84| Control Microsoft engineer data access with Customer Lockbox | https://learn.microsoft.com/en-us/azure/security/fundamentals/customer-lockbox-overview |
85| Identify Azure services supporting customer-managed keys | https://learn.microsoft.com/en-us/azure/security/fundamentals/encryption-customer-managed-keys-support |
86| Secure Azure hardware, firmware, and supply chain | https://learn.microsoft.com/en-us/azure/security/fundamentals/firmware |
87| Maintain Azure infrastructure integrity and security controls | https://learn.microsoft.com/en-us/azure/security/fundamentals/infrastructure-integrity |
88| Monitor Azure infrastructure for security and vulnerabilities | https://learn.microsoft.com/en-us/azure/security/fundamentals/infrastructure-monitoring |
89| Manage and operate the Azure production network securely | https://learn.microsoft.com/en-us/azure/security/fundamentals/infrastructure-operations |
90| Understand Azure SQL Database security capabilities | https://learn.microsoft.com/en-us/azure/security/fundamentals/infrastructure-sql |
91| Apply firmware measured boot and host attestation in Azure | https://learn.microsoft.com/en-us/azure/security/fundamentals/measured-boot-host-attestation |
92| Apply Azure operational security checklist controls | https://learn.microsoft.com/en-us/azure/security/fundamentals/operational-checklist |
93| Follow Azure penetration testing rules and scope | https://learn.microsoft.com/en-us/azure/security/fundamentals/pen-testing |
94| Verify Azure platform integrity and secure host lifecycle | https://learn.microsoft.com/en-us/azure/security/fundamentals/platform |
95| Secure access to the Azure production network | https://learn.microsoft.com/en-us/azure/security/fundamentals/production-network |
96| Control and audit access to customer data in Azure | https://learn.microsoft.com/en-us/azure/security/fundamentals/protection-customer-data |
97| Use Secure Boot to protect Azure virtual machines | https://learn.microsoft.com/en-us/azure/security/fundamentals/secure-boot |
98
99### Configuration
100| Topic | URL |
101|-------|-----|
102| Configure Dependabot and Copacetic for container security | https://learn.microsoft.com/en-us/azure/security/container-secure-supply-chain/articles/container-secure-supply-chain-implementation/cssc-depenadabot-quickstart |
103| Configure Microsoft Antimalware for Azure workloads | https://learn.microsoft.com/en-us/azure/security/fundamentals/antimalware |
104| Plan firewall rules using Azure domain patterns | https://learn.microsoft.com/en-us/azure/security/fundamentals/azure-domains |
105| Configure alternate email notifications for Customer Lockbox | https://learn.microsoft.com/en-us/azure/security/fundamentals/customer-lockbox-alternative-email |
106| Configure Azure security logging and auditing | https://learn.microsoft.com/en-us/azure/security/fundamentals/log-audit |
107| Adapt to Azure managed TLS feature changes | https://learn.microsoft.com/en-us/azure/security/fundamentals/managed-tls-changes |
108| Configure Azure-native features for ransomware protection | https://learn.microsoft.com/en-us/azure/security/fundamentals/ransomware-features-resources |
109
110### Integrations & Coding Patterns
111| Topic | URL |
112|-------|-----|
113| Create and attach signed SBOMs to container images | https://learn.microsoft.com/en-us/azure/security/container-secure-supply-chain/articles/attach-sbom |
114| Use PowerShell to configure Microsoft Antimalware in Azure | https://learn.microsoft.com/en-us/azure/security/fundamentals/antimalware-code-samples |
115
116### Deployment
117| Topic | URL |
118|-------|-----|
119| Sign and verify container images in Azure Pipelines with Notation | https://learn.microsoft.com/en-us/azure/security/container-secure-supply-chain/articles/notation-ado-task-sign |
120| Sign container images with Notation in GitHub Actions | https://learn.microsoft.com/en-us/azure/security/container-secure-supply-chain/articles/notation-sign-gha |
121| Verify container image signatures with Notation in GitHub Actions | https://learn.microsoft.com/en-us/azure/security/container-secure-supply-chain/articles/verify-gha |