New to Claude Skills? Learn how to install them →

microsoft on GitHub

Azure Compliance Auditing

OfficialFree

Run compliance and security audits on Azure resources.

by microsoft1.4k stars on microsoft/azure-skills
3 views
Updated Aug 10, 2026
Get this skill

Free · Opens the source repo

What Azure Compliance Auditing does

The Azure Compliance Auditing skill enables users to perform comprehensive compliance scans and security audits on Azure resources. It leverages the azqr tool and provides functionality for assessing resource configurations against best practices, identifying orphaned or misconfigured resources, and auditing Key Vault items for expiration. This skill is particularly useful for teams responsible for maintaining compliance and security within their Azure environments, ensuring that resources are configured correctly and that sensitive information is managed securely.

This skill supports various assessments, including the validation of Azure resource configurations and the monitoring of Key Vault keys, secrets, and certificates for expiration. Users can activate the skill when they need to check compliance, assess security posture, or review resource configurations. The integration with the azqr tool allows for a detailed analysis of Azure resources, enabling teams to identify potential risks and take corrective actions promptly.

To use this skill, users must be authenticated in Azure and possess the necessary permissions to read resource configurations and Key Vault metadata. The skill guides users through a structured assessment workflow, starting from selecting the scope of the assessment to analyzing the results and proposing remediation steps. This systematic approach helps teams to maintain a high security posture and adhere to compliance requirements effectively.

When to use it

Use this skill when conducting compliance scans, security audits, or when needing to monitor Key Vault expiration statuses.

When not to use it

This skill is not suitable for environments where Azure services are not used or for users without the necessary permissions to access Azure resources.

What you can build with it

Conducting Regular Compliance Audits

Schedule regular compliance audits using this skill to ensure Azure resources adhere to best practices.

Monitoring Key Vault Expirations

Use the skill to regularly check for expired keys, secrets, and certificates in your Azure Key Vault.

Assessing Resource Configurations

Run assessments to validate the configurations of Azure resources against established compliance standards.

How to install Azure Compliance Auditing

View source

1. Install with the skills CLI

npx skills add microsoft/azure-skills/azure-compliance --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by microsoft

Azure Compliance & Security Auditing

Quick Reference

PropertyDetails
Best forCompliance scans, security audits, Key Vault expiration checks
Primary capabilitiesComprehensive Resources Assessment, Key Vault Expiration Monitoring
MCP toolsazqr, subscription and resource group listing, Key Vault item inspection

When to Use This Skill

  • Run azqr or Azure Quick Review for compliance assessment
  • Validate Azure resource configuration against best practices
  • Identify orphaned or misconfigured resources
  • Audit Key Vault keys, secrets, and certificates for expiration

Skill Activation Triggers

Activate this skill when user wants to:

  • Check Azure compliance or best practices
  • Assess Azure resources for configuration issues
  • Run azqr or Azure Quick Review
  • Identify orphaned or misconfigured resources
  • Review Azure security posture
  • "Show me expired certificates/keys/secrets in my Key Vault"
  • "Check what's expiring in the next 30 days"
  • "Audit my Key Vault for compliance"
  • "Find secrets without expiration dates"
  • "Check certificate expiration dates"

Prerequisites

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

Assessments

AssessmentReference
Comprehensive Compliance (azqr)references/azure-quick-review.md
Key Vault Expirationreferences/azure-keyvault-expiration-audit.md
Resource Graph Queriesreferences/azure-resource-graph.md

MCP Tools

ToolPurpose
mcp_azure_mcp_extension_azqrRun azqr compliance scans
mcp_azure_mcp_subscription_listList available subscriptions
mcp_azure_mcp_group_listList resource groups
keyvault_key_listList all keys in vault
keyvault_key_getGet key details including expiration
keyvault_secret_listList all secrets in vault
keyvault_secret_getGet secret details including expiration
keyvault_certificate_listList all certificates in vault
keyvault_certificate_getGet 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

PriorityGuidance
CriticalImmediate remediation required for high-impact exposure
HighResolve within days to reduce risk
MediumPlan a resolution in the next sprint
LowTrack and fix during regular maintenance

Error Handling

ErrorMessageRemediation
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:

Frequently asked questions about Azure Compliance Auditing

Similar skills