# Azure/azure-policy

Repository for Azure Resource Policy built-in definitions and samples

Repository: https://github.com/Azure/azure-policy
Canonical: https://ross.abutalabs.com/products/azure-policy
Language: Open Policy Agent
License: MIT
License Family: permissive
Topics: azure, policy
Last push: 2026-08-20T21:39:24+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 3324, "days_push": 13, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1692, forks 1155 (observed 2026-08-28T04:05:22.714023+00:00)

## What it is
The official repository of Azure Policy built-in policy definitions and samples, maintained by Microsoft. It serves as the source of truth for the policy definitions published to Azure, used for enforcing governance and compliance rules over Azure resources.

## Use cases
- find built-in Azure Policy definitions for compliance
- write policy-as-code for Azure resources
- enforce governance rules on Azure subscriptions
- audit Azure resource configurations for compliance
- learn Azure Policy definition structure and effects
- contribute custom policy samples for Azure

## When to choose
- you need the canonical source of Azure built-in policy definitions
- you are implementing policy-as-code workflows for Azure governance
- you want to audit or enforce compliance rules on Azure resources
- you need reference examples for writing Azure Policy definitions

## When to avoid
- you need community-contributed policies rather than built-ins (use the Azure Community Policy repo)
- you are governing AWS or GCP resources rather than Azure
- you need a tool to run policy evaluation locally rather than definition sources
- you need to report a bug in a built-in definition (Azure Customer Support handles that)

## Facets
- artifact type: dataset
- maturity: active
- function: infrastructure-as-code, security, configuration-management, developer-tools
- domain: cloud-computing, security, infrastructure-as-code, self-hosted
- platform: cloud
- tags: azure-policy, policy-as-code, governance, compliance, built-in-definitions, open-policy-agent, cloud-governance, devops

## Member repositories
- Azure/azure-policy (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:22.714023+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:38:12.558389+00:00, confidence not recorded.
  - readme: https://github.com/Azure/azure-policy (fetched 2026-08-28T04:05:22.714023+00:00, sha e208a62450fe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
