<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Governance on Patoune-IT</title><link>https://www.patoune-it.fr/tags/governance/</link><description>Recent content in Governance on Patoune-IT</description><generator>Hugo</generator><language>en</language><lastBuildDate>Tue, 28 Apr 2026 10:00:00 +0200</lastBuildDate><atom:link href="https://www.patoune-it.fr/tags/governance/index.xml" rel="self" type="application/rss+xml"/><item><title>Managing Azure Policies at Scale: A Terraform and azapi Approach</title><link>https://www.patoune-it.fr/posts/2026-04-28-azure-policy-automation/</link><pubDate>Tue, 28 Apr 2026 10:00:00 +0200</pubDate><guid>https://www.patoune-it.fr/posts/2026-04-28-azure-policy-automation/</guid><description>&lt;h2 id="what-is-an-azure-policy">What is an Azure Policy?&lt;/h2>
&lt;p>An Azure Policy is a governance rule applied to Azure resources. It ensures that an environment remains compliant with defined standards: security, naming conventions, allowed regions&amp;hellip;&lt;/p>
&lt;p>There are three key concepts to distinguish.&lt;/p>
&lt;p>A &lt;strong>Policy Definition&lt;/strong> is the rule itself. It defines what is evaluated and the effect triggered in case of non-compliance. The main effects are:&lt;/p>
&lt;table>
&lt;thead>
&lt;tr>
&lt;th>Effect&lt;/th>
&lt;th>Behavior&lt;/th>
&lt;/tr>
&lt;/thead>
&lt;tbody>
&lt;tr>
&lt;td>&lt;code>Audit&lt;/code>&lt;/td>
&lt;td>Logs non-compliance, does not block&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>Deny&lt;/code>&lt;/td>
&lt;td>Blocks resource creation or modification&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>DeployIfNotExists&lt;/code>&lt;/td>
&lt;td>Automatically deploys an associated resource if absent&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>Modify&lt;/code>&lt;/td>
&lt;td>Modifies a property during creation/update&lt;/td>
&lt;/tr>
&lt;tr>
&lt;td>&lt;code>Append&lt;/code>&lt;/td>
&lt;td>Adds fields to the resource&lt;/td>
&lt;/tr>
&lt;/tbody>
&lt;/table>
&lt;p>An &lt;strong>Initiative&lt;/strong> (or &lt;code>PolicySetDefinition&lt;/code>) is a grouping of multiple definitions. Rather than assigning each policy one by one, they are grouped into a coherent initiative, for example a security baseline or CIS compliance set.&lt;/p></description></item></channel></rss>