https://github.com/matsest/az-policy-alias
Search and find all supported Azure Policy Aliases in your browser. Automatically updated every day: https://policyalias.mats.codes/
https://github.com/matsest/az-policy-alias
azure azure-policy azure-policy-alias gohugo powershell pwsh
Last synced: 11 days ago
JSON representation
Search and find all supported Azure Policy Aliases in your browser. Automatically updated every day: https://policyalias.mats.codes/
- Host: GitHub
- URL: https://github.com/matsest/az-policy-alias
- Owner: matsest
- License: mit
- Created: 2022-06-17T12:53:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-10-06T01:31:43.000Z (14 days ago)
- Last Synced: 2025-10-06T03:23:02.462Z (14 days ago)
- Topics: azure, azure-policy, azure-policy-alias, gohugo, powershell, pwsh
- Language: HTML
- Homepage: https://policyalias.mats.codes
- Size: 114 MB
- Stars: 14
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure Policy Aliases
[](https://github.com/matsest/az-policy-alias/commits/gh-pages)
[](https://github.com/matsest/az-policy-alias/actions/workflows/deploy.yaml)
[](https://github.com/matsest/az-policy-alias/actions/workflows/pages/pages-build-deployment)
[](https://gohugo.io)
[](https://github.com/thegeeklab/hugo-geekdoc/blob/main/LICENSE)This repo contains code for a website that makes it easier to quickly find and search for [Azure Policy Aliases](https://learn.microsoft.com/en-us/azure/governance/policy/concepts/definition-structure-alias) to use when authoring custom Azure policy definitions.
This repo is made by me and have no affliations with Microsoft.
## Usage
Go to https://policyalias.mats.codes
## Background
For reasons unknown finding supported policy aliases is normally done through either PowerShell/Azure CLI or VS Code Extension.
Both of these approaches requires additional tooling setup, and multiple commands/steps to carry out. They also requires you to be signed-in to Azure just for finding out if an alias is available. Why not just a searchable reference documentation instead?
This web site uses the `Get-AzPolicyAlias` cmdlet to generate the full overview of all supported policy aliases and is run once every day to always have a full list of up-to-date searchable policy aliases in a small, static web site.
You can see the latest updated aliases in the [gh-pages branch](https://github.com/matsest/az-policy-alias/commits/gh-pages).
## Technology
- Azure PowerShell for indexing all available policy aliases
- Hugo with GeekDocs theme for web site
- GitHub Pages for hosting
- GitHub Actions for deployment## Related
- [AzAdvertizer.net Policy Aliases](https://www.azadvertizer.net/azpolicyaliasesadvertizer_singlelinesx.html) by [@JulianHayward](https://github.com/JulianHayward): Release and change tracking on Azure Governance capabilities, including policy aliases
## License
[MIT License](LICENSE)