Loading...

Public Preview Announcement: Azure Policy Built-in Versioning

Public Preview Announcement: Azure Policy Built-in Versioning

Welcome to a new era of policy management, where policy definitions are more agile, adaptable, and accessible than ever before! We are thrilled to introduce version management support for controlled built-in definition and initiative updates through Azure Policy. In a push to empower and simplify policy management, built-in definitions and initiatives will have the ability to store & reference multiple versions within a single definition ID. This new development will enhance your ability to govern, enforce and evolve your cloud governance policies. Keep reading for more information and be sure to check out our video walk-through of versioning to get started and learn more. 

 

What's new? Now, built-in definitions and initiatives can reference multiple versions within a single definition ID! This will help with:

 

  • Regulated updates: All built-in definitions will be reviewed and evaluated to stay aligned with versioning guidelines standards.
  • Change Management: Version will provide visibility into the evolution of built-in definitions and initiatives over each iteration.
  • Controlled application and enforcement: Users can specify what version of the definition or initiative to be assessed against at assignment time. 
  • Gradual Rollout: Versioning in collaboration with assignment resource selectors and overrides can be used to introduce new versions of definitions gradually into the environment.
  • Testing and quality assurance: Different versions of definitions may undergo different stages of roll out and application.  
  • Versioning awareness: Applicable version number will be shown in compliance logs on a per resource basis.

 

Ready to dive in? Keep reading to discover how you can get started with Policy versioning and make the most of these new capabilities!

 

Getting started 

All built-in definitions and initiatives have been updated to be on the latest current version. This can be seen in the portal, or through making a direct API call to the built-in definition. Through either client, you will see a new top-level version property (that follows semantic versioning format: #.#.#)

 

Now if that built-in definition were to introduce a new version, you would see the same definition ID but a new top level version number. With a slight change to the API call, you can retrieve other versions. See Policy Definition Versions - REST API (Azure Policy) | Microsoft Learn. If no version is specified, the latest version will be returned.

 

jodiboone_0-1720480236150.png

 

Portal:

When assigning a definition or initiative, users can select from either the current or previous versions while maintaining awareness of the version in your environment.

 

jodiboone_1-1720480236155.png

 

 

API Response:

The current version of the definition can also be seen through querying the definition ID, by default the latest version will be returned.

jodiboone_2-1720480236157.png

 

Important items to note: 

 

1. Assignment version reference 

All current assignments of built-in definitions and initiatives have been backfilled to reference the latest version of the definition and allow for updates on minor definition versions. Any assignment would ingest all minor changes as before but will not auto-ingest major or breaking changes.  If you do not want to ingest minor changes, you can update the existing assignment to pin to a minor version.

 

2. Understand patch change pattern.  

Assignments will not be able to pin to the patch version of definitions. Patch is reserved for non-impacting text changes and critical hotfixes. Patch changes require ingestions reserved for rare and special cases. Since a text change or definition category can occur without warning, please ensure any additional functionality relies on the definition ID and not the definition name as the name is dynamic, but ID is static.

 

3. Understand major vs minor updates.

Following semantic versioning, major updates occur when there is a breaking change to the definition. This could include introducing a new deny policy to a built-in initiative. A minor update does not include breaking changes but can include rule logic changes that enhance the scope of the definition’s applicability or changes to parameters. 

 

Stay tuned for more updates on Azure Policy features and releases here, and on X at @AzureGovernance.

 

Link to video overview of Policy versioning: https://youtu.be/eejdoDgofZ8

 

Published on:

Learn more
Azure Governance and Management Blog articles
Azure Governance and Management Blog articles

Azure Governance and Management Blog articles

Share post:

Related posts

Azure WAF’s Bot Manager 1.1 and JavaScript Challenge: Navigating the Bot Threat Terrain

Introduction   Bots are a common presence on the internet, serving a range of functions from automating customer service to indexing page...

10 hours ago

Azure RBAC is so 2023! Let’s get ABAC to the rescue!

This post is part of a series How to deploy Azure LogAnalytics Workspace and link Application Insights to it How to use Azure Container Regi...

11 hours ago

Content filtering with Azure AI Studio

In alignment with Microsoft’s commitment to help customers use AI products responsibly, Azure OpenAI Service includes a content filtering syst...

13 hours ago

Azure Backup-SAP HANA DB Backup Delivers More Value at Lower TCO with Reduced Protected Instance Fee

Azure Backup for SAP HANA Database Delivers More Value at Lower TCO with Reduced Protected Instance Fees starting 1st Sept’2024   At Azur...

1 day ago

Utilizing Azure DDoS Protection Workbook for DDoS attack traffic Analysis

In today's digital age, the security of applications, servers, and networks is paramount. One of the most significant threats to this security...

2 days ago

How to secure access to an Azure Container registry with a Managed Identity and RBAC

This post is part of a series How to deploy Azure LogAnalytics Workspace and link Application Insights to it How to use Azure Container Regi...

3 days ago

Unified Routing – Diagnostics in Azure

You may (or may not) be aware that the diagnostics option in Unified Routing has been deprecated. It is being replaced by diagnostics in Azure...

4 days ago

Service health and Message center: Azure Information Protection consolidation

This post is about the consolidation of Azure Information Protection communications under Microsoft Purview in Service Health and Message Cent...

4 days ago

Switch to Azure Business Continuity Center for your at scale BCDR management needs

In response to the evolving customer requirements and environments since COVID-19, including the shift towards hybrid work models and the incr...

4 days ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy