{"id":13629009,"url":"https://github.com/globalbao/azure-policy-as-code","last_synced_at":"2026-03-02T07:17:00.080Z","repository":{"id":38348741,"uuid":"344983232","full_name":"globalbao/azure-policy-as-code","owner":"globalbao","description":"Bicep and Terraform code examples for policy-as-code workflows. Azure governance guardrails and automation - by @JesseLoudon","archived":false,"fork":false,"pushed_at":"2024-04-20T04:59:58.000Z","size":1681,"stargazers_count":178,"open_issues_count":4,"forks_count":83,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-04-17T17:39:22.244Z","etag":null,"topics":["armtemplates","azure","azure-policy","azuredevops","azurepolicy","azurerm","bicep","cicd","custom-policies","devops","policy-as-code","terraform","terraform-azurerm"],"latest_commit_sha":null,"homepage":"https://globalbao.github.io/azure-policy-as-code","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/globalbao.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["jesseloudon"]}},"created_at":"2021-03-06T02:05:11.000Z","updated_at":"2025-04-12T14:55:26.000Z","dependencies_parsed_at":"2024-01-17T16:59:06.636Z","dependency_job_id":"324d7a9c-6d77-4507-b733-38f43eeb922c","html_url":"https://github.com/globalbao/azure-policy-as-code","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/globalbao/azure-policy-as-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globalbao%2Fazure-policy-as-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globalbao%2Fazure-policy-as-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globalbao%2Fazure-policy-as-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globalbao%2Fazure-policy-as-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/globalbao","download_url":"https://codeload.github.com/globalbao/azure-policy-as-code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/globalbao%2Fazure-policy-as-code/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29994776,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-02T01:47:34.672Z","status":"online","status_checked_at":"2026-03-02T02:00:07.342Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["armtemplates","azure","azure-policy","azuredevops","azurepolicy","azurerm","bicep","cicd","custom-policies","devops","policy-as-code","terraform","terraform-azurerm"],"created_at":"2024-08-01T22:01:01.524Z","updated_at":"2026-03-02T07:17:00.063Z","avatar_url":"https://github.com/globalbao.png","language":"HCL","funding_links":["https://github.com/sponsors/jesseloudon"],"categories":["Community Repositories","Community"],"sub_categories":["Community Repositories"],"readme":"# Azure-Policy-As-Code\n[![Bicep-CI-Tests](https://github.com/globalbao/azure-policy-as-code/actions/workflows/Bicep-CI-Tests.yml/badge.svg)](https://github.com/globalbao/azure-policy-as-code/actions/workflows/Bicep-CI-Tests.yml) [![Bicep-CD-Tests](https://github.com/globalbao/azure-policy-as-code/actions/workflows/Bicep-CD-Tests.yml/badge.svg)](https://github.com/globalbao/azure-policy-as-code/actions/workflows/Bicep-CD-Tests.yml) [![Terraform-CI-Tests](https://github.com/globalbao/azure-policy-as-code/actions/workflows/Terraform-CI-Tests.yml/badge.svg)](https://github.com/globalbao/azure-policy-as-code/actions/workflows/Terraform-CI-Tests.yml) [![Terraform-CD-Tests](https://github.com/globalbao/azure-policy-as-code/actions/workflows/Terraform-CD-Tests.yml/badge.svg)](https://github.com/globalbao/azure-policy-as-code/actions/workflows/Terraform-CD-Tests.yml) [![Open in Visual Studio Code](https://img.shields.io/static/v1?logo=visualstudiocode\u0026label=\u0026message=Open%20in%20Visual%20Studio%20Code\u0026labelColor=2c2c32\u0026color=007acc\u0026logoColor=007acc)](https://open.vscode.dev/globalbao/azure-policy-as-code)\n\nAzure Policy as Code is the combination of IaC and DevOps ensuring governance at scale is shifted away from click-ops and after-hours support towards a codified, policy-driven strategy.\n\nThis repo contains working modules for `Bicep` and `Terraform` usage, plus `YAML` CI/CD workflows which you can use today.\n\n## Contributors\n\u003ca href=\"https://github.com/globalbao/azure-policy-as-code/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=globalbao/azure-policy-as-code\" /\u003e\n\u003c/a\u003e\n\n## Community Content | Azure Policy as Code\n\n- [x] :star: Slides available for download (PDF)\n- [x] :star: Recorded sessions (YouTube)\n\n#### How To: Build Your Own Policy ID Library (JSON) with PowerShell [ :floppy_disk: [slides](https://jloudon.com/assets/pdfs/HowTo-JSONPolicyLibraryWithPowerShell.pdf) ]\n\n#### Azure Back to School 2021: Bicep Builders: Azure Sentinel and Policy as Code\n[![AzureBacktoSchool 2021: Bicep Builders: Azure Sentinel and Policy as Code](https://jloudon.com/assets/images/AzureBackToSchool2021-BicepBuildersAzureSentinelPolicyAsCode.png)](https://youtu.be/B03V3Tazcec)\n\n#### DevOps Sydney 2021: Automating Infrastructure Governance with Azure Policy [ :floppy_disk: [slides](https://jloudon.com/assets/pdfs/SydDevOps2021_AutomateInfraGovWithAzPolicy.pdf) ]\n[![DevOps Sydney 2021: Automating Infrastructure Governance with Azure Policy](https://img.youtube.com/vi/dPwy8nlNyNM/0.jpg)](https://youtu.be/dPwy8nlNyNM?t=570)\n\n#### Azure Sydney User Group 2021: Azure Policy as Code - Zero to Hero in 60 minutes [ :floppy_disk: [slides](https://jloudon.com/assets/pdfs/AzureSydUserGroup2021_PolicyAsCode_ZeroToHero60min.pdf) ]\n[![Azure Sydney User Group 2021: Azure Policy as Code - Zero to Hero in 60 minutes](https://img.youtube.com/vi/AVn5glYBz84/0.jpg)](https://youtu.be/AVn5glYBz84?t=2380)\n\n#### Global Azure 2021: Policy as Code with Bicep for Enterprise Scale [ :floppy_disk: [slides](https://jloudon.com/assets/pdfs/GlobalAzure2021_PolicyAsCodeWithBicepForEnterpriseScale.pdf) ]\n[![Global Azure 2021: Policy as Code with Bicep for Enterprise Scale](https://img.youtube.com/vi/qpnMJXw6pIg/0.jpg)](https://youtu.be/qpnMJXw6pIg)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglobalbao%2Fazure-policy-as-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglobalbao%2Fazure-policy-as-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglobalbao%2Fazure-policy-as-code/lists"}