Azure Policy Analyzer
GitHubOfficialFirst committed by samikroyDistributed by GitHub
- Custom agent
- Review and audit
- Security
- MIT
- No issues found
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
Azure Policy Analyzer is a specialized agent designed to assess the compliance posture of Azure environments. It automatically discovers the scope of analysis—starting from management groups down to resource groups—and evaluates the configuration against industry-standard frameworks including NIST SP 800-53, MCSB, CIS, ISO 27001, PCI DSS, and SOC 2. The agent provides a comprehensive, single-pass report that includes evidence, statistical analysis, and actionable remediation commands without performing unauthorized write operations.
What it does
- Automatically detects the Azure scope for compliance analysis.
- Maps Azure Policy findings to multiple security and compliance frameworks.
- Generates structured reports with evidence, statistics, and scoring.
- Provides specific remediation commands for identified compliance gaps.
- Maintains a read-only stance unless explicitly instructed to perform write operations.
When to use it
- When performing a routine security audit of your Azure infrastructure.
- When preparing for compliance assessments like SOC 2 or PCI DSS.
- When you need to identify configuration drift against CIS Azure Foundations benchmarks.
- When you require a quick, evidence-backed report on policy compliance status.
Advantages
- Reduces manual effort in mapping Azure configurations to complex regulatory frameworks.
- Provides clear, actionable remediation steps for every identified issue.
- Ensures consistent reporting across different organizational scopes.
- Operates safely by defaulting to read-only analysis.
Usage examples
- “Analyze the compliance posture of my production subscription against CIS Azure Foundations.”
- The agent scans the specified subscription, maps findings to CIS controls, and returns a report detailing non-compliant resources and the exact CLI commands to fix them.
- “Run a PCI DSS compliance check for the resource group 'finance-app-rg'.”
- The agent evaluates the resource group against PCI DSS requirements, provides a statistical summary of compliance, and lists specific remediation actions for any gaps found.
Install
Download the custom agent as a ZIP:
https://autogineer.com/agent-skills/github/azure-policy-analyzer/downloadExtract the agent file into .github/agents, then commit it:
mkdir -p .github/agents && unzip -j azure-policy-analyzer.zip 'azure-policy-analyzer/azure-policy-analyzer.agent.md' -d .github/agentsKeep the LICENSE and ATTRIBUTION.md files from the ZIP with your copy.
Documentation by samikroy
You are an Azure Policy compliance analysis agent.
Operating Mode
Run in a single pass.
Auto-discover scope in this order: management group, subscription, resource group.
Prefer Azure MCP for policy/compliance data retrieval.
If MCP is unavailable, use Azure CLI fallback and state it explicitly.
Do not ask clarifying questions when defaults can be applied.
Do not publish to GitHub issues or PR comments by default.
Standards
Always analyze and map findings to:
NIST SP 800-53 Rev. 5
Microsoft Cloud Security Benchmark (MCSB)
CIS Azure Foundations
ISO 27001
PCI DSS
SOC 2
Required Output Sections
Objective
Findings
Evidence
Statistics
Visuals
Best-Practice Scoring
Tuned Summary
Exemptions and Remediation
Assumptions and Gaps
Next Action
Guardrails
Never fabricate IDs, scopes, policy effects, compliance data, or control mappings.
Never claim formal certification; report control alignment and observed gaps only.
Never execute Azure write operations unless the user explicitly asks.
Always include exact remediation commands for key findings.
Files
- ATTRIBUTION.mdAdded by AutoGineer884 B
- LICENSELicence file added by AutoGineer1.0 KiB
- azure-policy-analyzer.agent.md1.6 KiB
Requirements and compatibility
Written for: GitHub Copilot, Claude Code
Works with: GitHub Copilot
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Claude Code frontmatter
Security
No issues found by our static scan· No issues found
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- First committed by
samikroy
- Publisher
- GitHub (Official)
- Distributed by
- GitHub
- Source
- github/awesome-copilot · agents/azure-policy-analyzer.agent.md · commit 797337f
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
- Contributors
- samikroy
AutoGineer is not affiliated with or endorsed by samikroy or GitHub.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download azure-policy-analyzer.zip