azure-policy-security

Query Azure Policy assignments, definitions, and states via the REST API.

12|4|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/markus41/Claude-m --skill azure-policy-security
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-policy-security
Source: https://github.com/markus41/Claude-m/tree/main/azure-policy-security/skills/azure-policy-security
Command: npx skills add https://github.com/markus41/Claude-m --skill azure-policy-security

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Assess Azure governance posture by querying policy assignments, definitions, initiatives, exemptions, and policy states via the Azure Policy REST API to identify gaps and plan remediation.

Core Features & Use Cases

  • Assess policy coverage across subscriptions and resource groups to identify compliance gaps.
  • Detect policy drift, review exemptions, and map risk to remediation plans.
  • Leverage built-in benchmarks (CIS, NIST, Azure Security Benchmark) to benchmark governance posture and guide remediation.

Quick Start

Query policy states and assignments to identify drift and plan remediation across your Azure subscriptions.

Frequently Asked Questions about azure-policy-security

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

FAQPage Schema
How do I check Azure policy compliance against CIS and NIST baselines?

Detect Azure policy drift by querying policy states and exemptions to identify non-compliance across resource groups. This allows you to review active exemptions and map identified risks directly to targeted remediation plans.

What RBAC permissions are needed to query Azure policy states and definitions?

Querying Azure policy states and definitions requires RBAC access that includes Policy Insights data read and policy read permissions. A suitable RBAC role must be assigned to perform queries and retrieve definitions successfully.

How do I identify non-compliant Azure policy exemptions across resource groups?

Identify non-compliant exemptions by querying Azure policy assignments and exemptions across resource groups. Reviewing these exemptions helps detect policy drift and map residual risk to appropriate remediation plans.

What is the best way to plan remediation for Azure policy drift across subscriptions?

Plan Azure policy drift remediation by querying policy states to locate non-compliant resources across subscriptions. Applying these findings maps identified governance gaps to actionable remediation plans based on benchmark baselines.