azure-compliance

Run Azure compliance scans with azqr and audit Key Vault keys, secrets, and certificates for expiration.

Updated Jul 20, 2026
One-click install
npx skills add https://github.com/merceralex397-collab/alex-stack --skill azure-compliance-merceralex397-collab
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: azure-compliance
Source: https://github.com/merceralex397-collab/alex-stack/tree/main/dev/azure-profile/azure-skills-main/azure-skills-main/.github/plugins/azure-skills/skills/azure-compliance
Command: npx skills add https://github.com/merceralex397-collab/alex-stack --skill azure-compliance-merceralex397-collab

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Azure environments drift out of compliance over time, and expired Key Vault secrets or certificates cause unexpected outages. This Skill automates compliance and security audits so you can detect misconfigurations, orphaned resources, and expiring credentials before they become incidents. ## Core Features & Use Cases - Comprehensive Compliance Scans: Run Azure Quick Review (azqr) against subscriptions, resource groups, or management groups and analyze findings across security, reliability, cost, and operations categories. - Key Vault Expiration Auditing: Enumerate keys, secrets, and certificates to find expired items, items expiring within a configurable threshold, and resources missing expiration dates. - Remediation Guidance: Get prioritized findings (Critical/High/Medium/Low) with ready-to-use Azure CLI and Bicep remediation templates, plus Azure Resource Graph KQL queries for custom audits. - Use Case: Before a quarterly security review, run an azqr scan on your production subscription, audit all Key Vaults for certificates expiring in the next 30 days, and receive a prioritized remediation plan. ## Quick Start Ask the assistant to run an azqr compliance scan on your subscription and check your Key Vault for any secrets or certificates expiring in the next 30 days.

Frequently Asked Questions about azure-compliance

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run an Azure compliance scan with azqr?▼

Authenticate with az login, then invoke the azqr MCP tool with a subscription ID and optionally a resource group name. The scan produces an Excel report with recommendations, impacted resources, inventory, Defender findings, and policy compliance status.

How do I find expired certificates and secrets in Azure Key Vault?▼

Use the Key Vault list and get tools to enumerate keys, secrets, and certificates, then compare each item's expiresOn field against the current date. Items with null expiration dates are flagged as security risks requiring an expiration policy.

What permissions are needed for an Azure compliance audit?▼

You need at least the Reader role on the target subscription or management group, plus Key Vault data plane access for expiration audits. Authentication is done via az login before running any scans.

What should I do if the Key Vault MCP tools fail or time out?▼

Fall back to Azure CLI commands such as az keyvault secret list and az keyvault secret show with the vault name. Switch to CLI when MCP tools return timeouts, connection errors, or empty responses for vaults known to contain resources.

How are azqr findings prioritized for remediation?▼

Findings are classified as Critical (immediate remediation), High (resolve within days), Medium (next sprint), or Low (regular maintenance). Defender for Cloud security findings and APRL reliability recommendations typically rank highest.