azure-compliance

Audits Azure resources for compliance issues and Key Vault expiration risks using azqr scans.

Updated May 12, 2026
One-click install
npx skills add https://github.com/sohamda/apex-try-out-demo-repo --skill azure-compliance-sohamda
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: azure-compliance
Source: https://github.com/sohamda/apex-try-out-demo-repo/tree/main/.github/skills/azure-compliance
Command: npx skills add https://github.com/sohamda/apex-try-out-demo-repo --skill azure-compliance-sohamda

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Azure environments drift from best practices over time, leaving misconfigured resources, orphaned assets, and expiring Key Vault secrets that cause outages or security exposure. This Skill automates compliance scanning and expiration auditing so issues are found before they cause incidents. ## Core Features & Use Cases - Comprehensive Compliance Scans: Runs Azure Quick Review (azqr) across subscriptions or resource groups and analyzes recommendations from APRL, Advisor, Defender for Cloud, and Azure Policy. - Key Vault Expiration Auditing: Lists keys, secrets, and certificates, then classifies them as expired, expiring soon, or missing expiration dates with prioritized remediation guidance. - Remediation Guidance: Maps findings to severity levels and provides Azure CLI and Bicep fix templates for common issues like missing private endpoints, soft delete, and diagnostic settings. - Use Case: Before a quarterly security review, run an azqr scan on your production subscription, audit all Key Vaults for certificates expiring within 30 days, and receive a prioritized remediation report. ## Quick Start Ask the agent to run a compliance scan on your Azure 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?▼

Run an azqr scan through the Azure MCP tool by specifying a subscription ID and optionally a resource group. The scan produces an Excel report with recommendations, impacted resources, inventory, Defender findings, and policy compliance status.

How do I check Azure Key Vault for expiring secrets and certificates?▼

Use the Key Vault MCP tools to list keys, secrets, and certificates, then retrieve each item's expiresOn field. Items are classified as expired, expiring within your day threshold, or missing expiration dates, with prioritized remediation guidance.

What permissions are needed for an Azure compliance audit?▼

You need to be authenticated via az login and hold at least the Reader role on the target subscription or resource group. Key Vault auditing additionally requires data plane access to read keys, secrets, and certificates.

What should I do if the Azure MCP Key Vault 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. The CLI fallback applies when MCP tools return timeouts, connection errors, or empty responses for vaults known to contain resources.

When should I not use this compliance skill?▼

Do not use it for cost analysis, which belongs to a cost optimization skill, or for governance discovery, which is handled by a governance discovery skill. It focuses on compliance scanning, security posture, and Key Vault expiration auditing.