Skip to content

matsest/az-policy-alias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Azure Policy Aliases

latest alias update update-and-deploy deploy-github-pages Hugo Version License

This repo contains code for a website that makes it easier to quickly find and search for Azure Policy Aliases 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.

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

License

MIT License