agentleFS
jonathan-vellajonathan-vella/apex/.github/skills/apex-azure-compliance/SKILL.md

apex-azure-compliance

Skill216 starsChanged 2 months agoMITView on GitHub

**ANALYSIS SKILL** — Azure compliance and security auditing: best practices, Key Vault expiration monitoring, resource validation. WHEN: "compliance scan", "security audit", "Key Vault expiration check", "expired certificates", "orphaned resources". DO NOT USE FOR: cost analysis (apex-azure-cost-optimization), governance discovery (apex-azure-governance-discovery).

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Follow the identity and permission boundary

    line 27
  2. Distinctive:

    Run azqr and capture output artifacts.

    line 53
  3. Distinctive:

    Run compliance scans on a regular schedule (weekly or monthly)

    line 77
  4. Distinctive:

    Keep Key Vault expiration policies documented and enforced

    line 83

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

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

Prerequisites

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

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_certificate_listList all certificates in vault
keyvault_certificate_getGet certificate details including expiration

Steps

  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"Request user sign-in for the intended identity; do not switch automatically
Access denied"Forbidden"Report missing metadata access; assignments require separate approval
Missing resource"Not found"Verify subscription and resource group selection

Rules

  • Run compliance scans on a regular schedule (weekly or monthly)
  • Track findings over time and verify remediation effectiveness
  • Separate compliance reporting from remediation execution
  • Audit metadata only: never retrieve secret values, including certificate backing secrets. Verify installed tool contracts; unknown tools and denied pages are coverage gaps, not permission to fetch contents or broaden access.
  • Keep Key Vault expiration policies documented and enforced

SDK Quick References

For programmatic Key Vault access, see the condensed SDK guides:

  • Key Vault (Python): Secrets/Keys/Certs
  • Secrets: TypeScript | Rust | Java
  • Keys: .NET | Java | TypeScript | Rust
  • Certificates: Rust

Reference Index

Load these on demand — do NOT read all at once:

ReferenceWhen to Load
../apex-entra-app-registration/references/auth-best-practices.mdAuth Best Practices
references/azqr-recommendations.mdAzqr Recommendations
references/azqr-remediation-patterns.mdAzqr Remediation Patterns
references/azure-keyvault-expiration-audit.mdAzure Keyvault Expiration Audit
references/azure-quick-review.mdAzure Quick Review
references/azure-resource-graph.mdAzure Resource Graph

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.