azure-enterprise-governance
Enterprise-grade Azure governance, security, and compliance framework. Combines Microsoft Cloud Adoption Framework (CAF) naming standards with comprehensive security architecture (Zero Trust), compliance frameworks (NIST, SOC2, PCI-DSS, HIPAA), and best practices. Provides naming validation, security audits, RBAC design, and compliance checklists for production-ready Azure deployments.
Best use case
azure-enterprise-governance is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Enterprise-grade Azure governance, security, and compliance framework. Combines Microsoft Cloud Adoption Framework (CAF) naming standards with comprehensive security architecture (Zero Trust), compliance frameworks (NIST, SOC2, PCI-DSS, HIPAA), and best practices. Provides naming validation, security audits, RBAC design, and compliance checklists for production-ready Azure deployments.
Teams using azure-enterprise-governance should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/azure-enterprise-governance/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How azure-enterprise-governance Compares
| Feature / Agent | azure-enterprise-governance | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Enterprise-grade Azure governance, security, and compliance framework. Combines Microsoft Cloud Adoption Framework (CAF) naming standards with comprehensive security architecture (Zero Trust), compliance frameworks (NIST, SOC2, PCI-DSS, HIPAA), and best practices. Provides naming validation, security audits, RBAC design, and compliance checklists for production-ready Azure deployments.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Azure Enterprise Governance Framework
## Overview
Master enterprise-level Azure governance, security, and compliance. This skill combines Microsoft Cloud Adoption Framework (CAF) naming standards with comprehensive security architecture (Zero Trust principles), compliance frameworks (NIST, SOC 2, PCI-DSS, HIPAA), and operational best practices. Design secure, compliant, and scalable Azure infrastructure aligned with industry standards.
## Core Capabilities
### 1. Naming Convention Design & Validation
Design and validate Azure resource naming strategies that are:
- **Compliant**: Follow Microsoft Cloud Adoption Framework (CAF) standards
- **Scalable**: Support hundreds of resources across multiple environments
- **Auditable**: Enable automated compliance checking
- **Human-friendly**: Clear, consistent, and easy to parse
**🎯 Interactive Decision Guide:**
Use `references/naming-decision-guide.md` for step-by-step guidance:
- **Decision flowchart** - Visual guide for choosing naming patterns
- **Questionnaire** - Answer questions to determine your needs
- **Template library** - Ready-to-use naming templates for common scenarios:
- Lab/Experimental environments (for learning and POC)
- Single application deployment (simple architectures)
- Microservices architecture (distributed systems)
- Multi-tenant SaaS (platform services)
- **Interactive naming generator** - Auto-generate naming schemes
**📚 Detailed Reference:**
See `references/naming-conventions.md` for:
- Microsoft-recommended naming format
- Resource type abbreviations from official CAF documentation
- Naming constraints and restrictions per resource type
- Multi-environment naming strategies
- Hierarchical resource organization patterns
**Usage Pattern:**
1. **Start with decision guide**: Run `python scripts/generate_naming.py` for interactive help
2. Review your organization structure (org, department, project)
3. Select naming template based on scenario (lab, app, microservices, multi-tenant)
4. Define abbreviations for resource types and environments
5. Validate naming scheme: `python scripts/validate_naming.py --resource-group <name>`
6. Apply naming scheme consistently across all resources
### 2. Security & Compliance Framework
Implement security controls across Azure infrastructure using:
- **Zero Trust Architecture**: Assume breach, verify everything
- **NIST Cybersecurity Framework**: Security standards and controls
- **Azure Well-Architected Framework**: Security pillar best practices
- **Managed Identity**: Eliminate shared credentials and key management
Reference `references/security-best-practices.md` for:
- Identity and access management (IAM) patterns
- Network security and isolation strategies
- Data protection and encryption requirements
- Compliance frameworks (NIST, SOC 2, PCI-DSS, HIPAA)
- Security assessment checklist
- Common security misconfigurations and fixes
**Key Security Principles:**
- Never use secrets in code (use Key Vault + Managed Identity)
- Implement defense in depth (network, application, data layers)
- Enable monitoring and alerting on all resources
- Enforce role-based access control (RBAC)
- Require multi-factor authentication (MFA)
- Use private endpoints for sensitive services
- Encrypt data in transit and at rest
- Regular security assessments and penetration testing
### 3. Automated Validation & Compliance Checking
Validate resource naming and security configurations using Python scripts in `scripts/`:
**validate_naming.py**
- Check resource names against CAF standards
- Verify naming constraints (length, characters, uniqueness)
- Detect naming pattern violations
- Generate compliance reports
- Usage: `python scripts/validate_naming.py --resource-group mygroup --check-all`
**security_audit.py**
- Audit Azure resources for security misconfigurations
- Check for managed identity usage
- Verify encryption settings (data, transport)
- Validate network isolation (NSGs, private endpoints)
- Identify overly permissive RBAC assignments
- Generate security assessment report
- Usage: `python scripts/security_audit.py --resource-group mygroup --severity high`
**compliance_checker.py**
- Verify compliance with organizational policies
- Check naming convention compliance
- Validate security controls alignment
- Generate audit trail for compliance documentation
- Support multiple compliance frameworks (NIST, SOC2, etc.)
- Usage: `python scripts/compliance_checker.py --framework nist --resource-group mygroup`
### 4. Organization Hierarchy & Governance
Structure Azure resources using hierarchies that support:
- **Multi-tenant organizations**: Separate by customer/tenant
- **Environment management**: dev, test, stg, prod isolation
- **Cost allocation**: Easy chargeback and cost center mapping
- **Access control**: Align resource hierarchy with RBAC
- **Disaster recovery**: Regional isolation and failover strategy
**Hierarchy Template:**
```
Subscription (billing boundary)
├── Resource Group: rg-{org}-{workload}-{env}
│ ├── Compute: asp-{org}-{workload}-{env}
│ ├── Storage: st{org}{env}001
│ ├── Database: sqldb-{org}-{workload}-{env}
│ └── Security: kv-{org}-{env}
├── Resource Group: rg-{org}-{workload}-{env}
└── Resource Group: rg-{org}-platform-{env}
```
## Best Practices Checklist
### Before Deployment
- [ ] **Naming Validated**: Run `validate_naming.py` against all resource names
- [ ] **Security Review**: Complete `security-best-practices.md` checklist
- [ ] **RBAC Configured**: Use managed identities, no shared credentials
- [ ] **Encryption Enabled**: Data at rest and in transit encrypted
- [ ] **Monitoring Setup**: Application Insights, Log Analytics configured
- [ ] **Network Isolation**: Private endpoints for sensitive services
- [ ] **Compliance Check**: Run `compliance_checker.py` for your framework
- [ ] **Documentation**: Resource hierarchy and naming documented
- [ ] **Access Control**: Principle of least privilege applied
- [ ] **Backup Strategy**: Automated backups configured and tested
### Post-Deployment
- [ ] **Audit Baseline**: Run `security_audit.py` to establish baseline
- [ ] **Monitoring Active**: Alerts configured for security events
- [ ] **Regular Reviews**: Monthly compliance and security reviews
- [ ] **Access Reviews**: Quarterly RBAC access reviews
- [ ] **Threat Analysis**: Regular threat modeling and updates
- [ ] **Incident Response**: Runbooks documented and tested
- [ ] **Disaster Recovery**: DR procedures documented and practiced
## Common Use Cases
### Scenario 1: Migrate 100+ Resources to Compliant Naming
```bash
# Validate current resources
python scripts/validate_naming.py --resource-group oldgroup --check-all
# Identify violations
python scripts/validate_naming.py --resource-group oldgroup --report violations.json
# Create migration plan with new compliant names
# Use references/naming-conventions.md to determine new names
```
### Scenario 2: Implement Zero Trust Security
1. Review `references/security-best-practices.md` section on Zero Trust
2. Audit current state: `python scripts/security_audit.py --resource-group mygroup`
3. Identify gaps compared to Zero Trust checklist
4. Implement controls: Managed Identity, Private Endpoints, NSGs
5. Re-audit and validate: `python scripts/security_audit.py --resource-group mygroup`
### Scenario 3: Prepare for SOC 2 / HIPAA Compliance
1. Select compliance framework: `python scripts/compliance_checker.py --framework soc2`
2. Review required controls in `references/security-best-practices.md`
3. Generate gap analysis report
4. Implement required security controls
5. Document compliance evidence and controls
6. Schedule regular audits: `python scripts/compliance_checker.py --framework soc2 --schedule monthly`
### Scenario 4: Design Multi-Tenant Naming Strategy
1. Review `references/naming-conventions.md` section on multi-tenant patterns
2. Define tenant/customer identifier (e.g., tenant ID, subdomain)
3. Create resource group naming pattern: `rg-{tenant}-{workload}-{env}`
4. Map resources to resource groups by tenant
5. Enforce access isolation using RBAC and subscriptions per tenant
## Related Skills
- **azure-expert**: Comprehensive Azure service architecture and deployment
- **skill-creator**: Create and manage AI skills in VS Code
## Additional Resources
- [Microsoft Cloud Adoption Framework - Naming](https://learn.microsoft.com/azure/cloud-adoption-framework/ready/azure-best-practices/resource-naming)
- [Microsoft Cloud Adoption Framework - Naming Abbreviations](https://learn.microsoft.com/azure/cloud-adoption-framework/ready/azure-best-practices/resource-abbreviations)
- [Azure Well-Architected Framework - Security Pillar](https://learn.microsoft.com/azure/well-architected/security/)
- [Azure Security Best Practices](https://learn.microsoft.com/security/benchmark/azure/)
- [NIST Cybersecurity Framework](https://www.nist.gov/cyberframework/)
- [Zero Trust Principles - Microsoft](https://learn.microsoft.com/security/zero-trust/)Related Skills
azure-storage-file-share-py
Azure Storage File Share SDK for Python. Use for SMB file shares, directories, and file operations in the cloud.
azure-storage-blob-rust
Azure Blob Storage SDK for Rust. Use for uploading, downloading, and managing blobs and containers.
azure-servicebus-py
Azure Service Bus SDK for Python messaging. Use for queues, topics, subscriptions, and enterprise messaging patterns.
azure-servicebus-dotnet
Azure Service Bus SDK for .NET. Enterprise messaging with queues, topics, subscriptions, and sessions.
azure-search-documents-py
Azure AI Search SDK for Python. Use for vector search, hybrid search, semantic ranking, indexing, and skillsets.
azure-search-documents-dotnet
Azure AI Search SDK for .NET (Azure.Search.Documents). Use for building search applications with full-text, vector, semantic, and hybrid search.
azure-resource-manager-durabletask-dotnet
Azure Resource Manager SDK for Durable Task Scheduler in .NET.
azure-prepare
Default entry point for Azure application development EXCEPT cross-cloud migration — use azure-cloud-migrate instead. Analyzes your project and prepares it for Azure deployment by generating infrastructure code (Bicep/Terraform), azure.yaml, and Dockerfiles. WHEN: "create an app", "build a web app", "create API", "create frontend", "create backend", "add a feature", "build a service", "develop a project", "modernize my code", "update my application", "add database", "add authentication", "add caching", "deploy to Azure", "host on Azure", "Azure with terraform", "Azure with azd", "generate azure.yaml", "generate Bicep", "generate Terraform", "create Azure Functions app", "create serverless HTTP API", "create function app", "create event-driven function", "create and deploy to Azure", "create Azure Functions and deploy", "create function app and deploy".
azure-pipelines
Use when validating Azure DevOps pipeline changes for the VS Code build. Covers queueing builds, checking build status, viewing logs, and iterating on pipeline YAML changes without waiting for full CI runs.
azure-pipelines-validator
Comprehensive toolkit for validating, linting, and securing Azure DevOps Pipeline configurations.
azure-pipelines-generator
Comprehensive toolkit for generating best practice Azure DevOps Pipelines following current standards and conventions. Use this skill when creating new Azure Pipelines, implementing CI/CD workflows, or building deployment pipelines.
azure-networking
Configure Azure VNet, NSG, Load Balancer, and network topology.