Azure Security Auditor

Azure Compliance & Security Auditing

by microsoft · MIT license · ★ 3,077 on GitHub

Azure Compliance & Security Auditing cover

Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks.

---
name: azure-compliance
description: "Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment."
license: MIT
metadata:
  author: Microsoft
  version: "1.2.3"
---

# Azure Compliance & Security Auditing

## Quick Reference

| Property | Details |
|---|---|
| Best for | Compliance scans, security audits, Key Vault expiration checks |
| Primary capabilities | Comprehensive Resources Assessment, Key Vault Expiration Monitoring |
| MCP tools | azqr, subscription and resource group listing, Key Vault item inspection |

Overview

For programmatic Key Vault access, see the condensed SDK guides:

Manual install (npx, ZIP)
Claude Codenpx skills add microsoft/skills --skill azure-compliance -g -a claude-code
Claude Code (degit)npx degit microsoft/skills/.github/plugins/azure-skills/skills/azure-compliance#main ~/.claude/skills/azure-compliance
Claude.ai / desktopZip the folder and upload it under Settings → Capabilities → Skills.
Codex, Cursor, other agentsPoint them at SKILL.md. The other files are plain text.

Connects with Agent Alley MCP · agentalley.io/mcp

Files included

  • SKILL.md3.9 KB
Read SKILL.md here
microsoft/main1 file shown
SKILL.md
Show the full text88 lines

Azure Compliance & Security Auditing

Quick Reference

Property Details
Best for Compliance scans, security audits, Key Vault expiration checks
Primary capabilities Comprehensive Resources Assessment, Key Vault Expiration Monitoring
MCP tools azqr, subscription and resource group listing, Key Vault item inspection

Prerequisites

  • Authentication: user is logged in to Azure via az login
  • Permissions to read resource configuration and Key Vault metadata

Assessments

Assessment Reference
Comprehensive Compliance (azqr) references/azure-quick-review.md
Key Vault Expiration references/azure-keyvault-expiration-audit.md
Resource Graph Queries references/azure-resource-graph.md

MCP Tools

Tool Purpose
mcp_azure_mcp_extension_azqr Run azqr compliance scans
mcp_azure_mcp_subscription_list List available subscriptions
mcp_azure_mcp_group_list List resource groups
keyvault_key_list List all keys in vault
keyvault_key_get Get key details including expiration
keyvault_secret_list List all secrets in vault
keyvault_secret_get Get secret details including expiration
keyvault_certificate_list List all certificates in vault
keyvault_certificate_get Get certificate details including expiration

Assessment Workflow

  1. Select scope (subscription or resource group) for Comprehensive Resources Assessment.
  2. Run azqr and capture output artifacts.
  3. Analyze Scan Results and summarize findings and recommendations.
  4. Review Key Vault Expiration Monitoring output for keys, secrets, and certificates.
  5. Classify issues and propose remediation or fix steps for each finding.
Priority Classification
Priority Guidance
Critical Immediate remediation required for high-impact exposure
High Resolve within days to reduce risk
Medium Plan a resolution in the next sprint
Low Track and fix during regular maintenance

Error Handling

Error Message Remediation
Authentication required "Please login" Run az login and retry
Access denied "Forbidden" Confirm permissions and fix role assignments
Missing resource "Not found" Verify subscription and resource group selection

Best Practices

  • Run compliance scans on a regular schedule (weekly or monthly)
  • Track findings over time and verify remediation effectiveness
  • Separate compliance reporting from remediation execution
  • Keep Key Vault expiration policies documented and enforced

SDK Quick References

For programmatic Key Vault access, see the condensed SDK guides:

1---
2name: azure-compliance
3description: "Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment."
4license: MIT
5metadata:
6 author: Microsoft
7 version: "1.2.3"
8---
9 
10# Azure Compliance & Security Auditing
11 
12## Quick Reference
13 
14| Property | Details |
15|---|---|
16| Best for | Compliance scans, security audits, Key Vault expiration checks |
17| Primary capabilities | Comprehensive Resources Assessment, Key Vault Expiration Monitoring |
18| MCP tools | azqr, subscription and resource group listing, Key Vault item inspection |
19 
20## Prerequisites
21 
22- Authentication: user is logged in to Azure via `az login`
23- Permissions to read resource configuration and Key Vault metadata
24 
25## Assessments
26 
27| Assessment | Reference |
28|------------|-----------|
29| Comprehensive Compliance (azqr) | [references/azure-quick-review.md](references/azure-quick-review.md) |
30| Key Vault Expiration | [references/azure-keyvault-expiration-audit.md](references/azure-keyvault-expiration-audit.md) |
31| Resource Graph Queries | [references/azure-resource-graph.md](references/azure-resource-graph.md) |
32 
33## MCP Tools
34 
35| Tool | Purpose |
36|------|---------|
37| `mcp_azure_mcp_extension_azqr` | Run azqr compliance scans |
38| `mcp_azure_mcp_subscription_list` | List available subscriptions |
39| `mcp_azure_mcp_group_list` | List resource groups |
40| `keyvault_key_list` | List all keys in vault |
41| `keyvault_key_get` | Get key details including expiration |
42| `keyvault_secret_list` | List all secrets in vault |
43| `keyvault_secret_get` | Get secret details including expiration |
44| `keyvault_certificate_list` | List all certificates in vault |
45| `keyvault_certificate_get` | Get certificate details including expiration |
46 
47## Assessment Workflow
48 
491. Select scope (subscription or resource group) for Comprehensive Resources Assessment.
502. Run azqr and capture output artifacts.
513. Analyze Scan Results and summarize findings and recommendations.
524. Review Key Vault Expiration Monitoring output for keys, secrets, and certificates.
535. Classify issues and propose remediation or fix steps for each finding.
54 
55### Priority Classification
56 
57| Priority | Guidance |
58|---|---|
59| Critical | Immediate remediation required for high-impact exposure |
60| High | Resolve within days to reduce risk |
61| Medium | Plan a resolution in the next sprint |
62| Low | Track and fix during regular maintenance |
63 
64## Error Handling
65 
66| Error | Message | Remediation |
67|---|---|---|
68| Authentication required | "Please login" | Run `az login` and retry |
69| Access denied | "Forbidden" | Confirm permissions and fix role assignments |
70| Missing resource | "Not found" | Verify subscription and resource group selection |
71 
72## Best Practices
73 
74- Run compliance scans on a regular schedule (weekly or monthly)
75- Track findings over time and verify remediation effectiveness
76- Separate compliance reporting from remediation execution
77- Keep Key Vault expiration policies documented and enforced
78 
79## SDK Quick References
80 
81For programmatic Key Vault access, see the condensed SDK guides:
82 
83- **Key Vault (Python)**: [Secrets/Keys/Certs](references/sdk/azure-keyvault-py.md)
84- **Secrets**: [TypeScript](references/sdk/azure-keyvault-secrets-ts.md) | [Rust](references/sdk/azure-keyvault-secrets-rust.md) | [Java](references/sdk/azure-security-keyvault-secrets-java.md)
85- **Keys**: [.NET](references/sdk/azure-security-keyvault-keys-dotnet.md) | [Java](references/sdk/azure-security-keyvault-keys-java.md) | [TypeScript](references/sdk/azure-keyvault-keys-ts.md) | [Rust](references/sdk/azure-keyvault-keys-rust.md)
86- **Certificates**: [Rust](references/sdk/azure-keyvault-certificates-rust.md)
87 
88 
View all files on GitHub →

Details

License
MIT
Stars on the repo
★ 3,077
Checked
Source
microsoft/skills ↗
Creator
microsoft · 31 listings
View creator

Similar skills

See all →
AgentRepository Quality Auditorshinpr/claude-code-workflows · by shinprReviews completed implementation for governing-source compliance, scope economy, repository quality policy, and material code correctness. Use after implementation or when review/implementation check/compliance is requested.★ 687 GitHub starsSkillData Privacy Architectwshobson/agents · by wshobsonImplement GDPR-compliant data handling with consent management, data subject rights, and privacy by design. Use when building systems that process EU personal data, implementing privacy controls, or conducting GDPR compliance reviews.★ 39.9k GitHub starsAgentLegal Document Drafterwshobson/agents · by wshobsonDraft privacy policies, terms of service, disclaimers, and legal notices. Creates GDPR-compliant texts, cookie policies, and data processing agreements. Use PROACTIVELY for legal documentation, compliance texts, or regulatory requirements.★ 39.9k GitHub starsSkillPCI Compliance Implementerwshobson/agents · by wshobsonImplement PCI DSS compliance requirements for secure handling of payment card data and payment systems. Use when securing payment processing, achieving PCI compliance, or implementing payment card security measures.★ 39.9k GitHub starsSkillData Privacy Compliancedavila7/claude-code-templates · by davila7Data privacy and regulatory compliance specialist for GDPR, CCPA, HIPAA, and international data protection laws. Use when implementing privacy controls, conducting data protection impact assessments, ensuring regulatory compliance, or managing data subject rights. Expert in consent management, data minimization, and privacy-by-design principles.★ 32.3k GitHub starsSkillFDA & QMSR Compliancedavila7/claude-code-templates · by davila7Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management. Provides FDA pathway expertise, QSR compliance, cybersecurity guidance, and regulatory submission support. Use for FDA submission planning, QSR compliance assessments, HIPAA evaluations, and FDA regulatory strategy development.★ 32.3k GitHub stars

More from microsoft

AgentPlaywright Browser Automation MCPmicrosoft/playwright-mcp · by microsoftMicrosoft's browser automation server: your AI opens pages, clicks, fills forms and reads the page through the accessibility tree.★ 37.5k GitHub starsSkillUsage-Based Agent Trainermicrosoft/SkillOpt · by microsoftUse when the user wants their Claude agent to self-improve from past usage, asks about a nightly/offline 'sleep' or 'dream' cycle, memory/skill consolidation, or says things like 'make my agent better the more I use it', 'review my past sessions', 'learn my pr★ 17.3k GitHub starsSkillAzure App Deployermicrosoft/skills · by microsoftEnd-to-end orchestrator: from a business idea, app idea, or existing app to running Azure deployment with cost estimates and pre-deploy approval. Analyzes your app, auto-detects the right Azure services, scaffolds infrastructure code, and deploys — tailored to your app, not a template. Handles moving existing apps to Azure without rewriting or with minimal changes. WHEN: bring your app to Azure, plan my app, cost to run, is my code ready to deploy, deploy my app to the cloud, deploy all my services, what Azure services do I need, plan my Azure deployment, deploy my new app to Azure, one-click deploy, I have an app and want it on Azure, migrate my app to Azure, help me get started, build an app, no code yet, starter project. DO NOT USE FOR: use azd for deployment(use azure-deploy), optimizing existing costs (use cost-optimization), code readiness checks only (use azure-app-onboard-prereq).★ 3.1k GitHub starsSkillAzure Deployment Auditormicrosoft/skills · by microsoftAssess whether source code is ready to deploy to Azure — the check BEFORE infrastructure work. Evaluates build health, app completeness, dependencies and local services, stack compatibility, and deployment feasibility. Answers questions about what your app needs before it can be deployed — frameworks, dependencies, and configuration. Checks whether dependencies are compatible and identifies deployment blockers and unsupported frameworks. WHEN: "evaluate my repo", "is my app ready to deploy", "what does my app need to deploy", "what do I need before deploying", "does my app need", "can I ship this to Azure", "scan my repo for issues", "is this app deployable", "check if my app is ready for Azure", "do I need a Dockerfile", "what's blocking my deployment", "are there any blockers", "are my dependencies compatible", "does Azure support my framework", "what needs to change before deploying", "check my app configuration".★ 3.1k GitHub starsSkillAzure AI Gatewaymicrosoft/azure-skills · by microsoftConfigure Azure API Management as an AI Gateway for AI models, MCP tools, and agents. WHEN: semantic caching, token limit, content safety, load balancing, AI model governance, MCP rate limiting, jailbreak detection, add Azure OpenAI backend, add AI Foundry model, test AI gateway, LLM policies, configure AI backend, token metrics, AI cost control, convert API to MCP, import OpenAPI to gateway.★ 1.6k GitHub starsSkillKusto Query Buildermicrosoft/azure-skills · by microsoftQuery and analyze data in Azure Data Explorer (Kusto/ADX) using KQL for log analytics, telemetry, and time series analysis. WHEN: KQL queries, Kusto database queries, Azure Data Explorer, ADX clusters, log analytics, time series data, IoT telemetry, anomaly detection.★ 1.6k GitHub stars