<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tools &#8211; Armand IT</title>
	<atom:link href="https://www.armandit.com/tag/tools/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.armandit.com</link>
	<description>Azure at work, Kubernetes at home</description>
	<lastBuildDate>Sun, 29 Nov 2026 22:00:09 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>

<image>
	<url>https://www.armandit.com/wp-content/uploads/2026/11/armandit-icon-512-32x32.png</url>
	<title>Tools &#8211; Armand IT</title>
	<link>https://www.armandit.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Firewall Policy Studio: A Visual Bicep Editor for Azure Firewall Policies</title>
		<link>https://www.armandit.com/2026/11/27/firewall-policy-studio/</link>
		
		<dc:creator><![CDATA[Armand Hatting]]></dc:creator>
		<pubDate>Fri, 27 Nov 2026 18:52:00 +0000</pubDate>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Azure Firewall]]></category>
		<category><![CDATA[Bicep]]></category>
		<category><![CDATA[Firewall Policy]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Tools]]></category>
		<guid isPermaLink="false">https://www.armandit.com/?p=778</guid>

					<description><![CDATA[A free, browser-based editor for Azure Firewall Policy rule collection groups, collections and rules, with naming conventions, service packs, CSV import and live Bicep output.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Anyone who has maintained an Azure Firewall Policy in Bicep knows the feeling: a few hundred lines of nested arrays, priorities that no longer make sense, and rule names that tell you nothing. Reviewing a change means scrolling through JSON-like structures hoping you spot the one rule that matters.</p>



<p class="wp-block-paragraph">That is why I built <strong><a href="https://fps.armandit.com/" target="_blank" rel="noopener">Firewall Policy Studio</a></strong>: a visual editor for Azure Firewall Policy rules that generates clean, deployable Bicep. It runs entirely in your browser, and it&#8217;s free to use.</p>



<figure class="wp-block-image size-large"><a href="https://www.armandit.com/wp-content/uploads/2026/11/firewall-policy-studio-editor.png"><img fetchpriority="high" decoding="async" width="1024" height="640" src="https://www.armandit.com/wp-content/uploads/2026/11/firewall-policy-studio-editor-1024x640.png" alt="Firewall Policy Studio: rule collection groups and service packs on the left, the visual editor with rule collections and rules in the middle, and the generated Bicep template on the right." class="wp-image-776" srcset="https://www.armandit.com/wp-content/uploads/2026/11/firewall-policy-studio-editor-1024x640.png 1024w, https://www.armandit.com/wp-content/uploads/2026/11/firewall-policy-studio-editor-300x188.png 300w, https://www.armandit.com/wp-content/uploads/2026/11/firewall-policy-studio-editor-768x480.png 768w, https://www.armandit.com/wp-content/uploads/2026/11/firewall-policy-studio-editor-1536x960.png 1536w, https://www.armandit.com/wp-content/uploads/2026/11/firewall-policy-studio-editor.png 1600w" sizes="(max-width: 1024px) 100vw, 1024px" /></a><figcaption class="wp-element-caption">Policy settings and service packs on the left, the visual editor in the middle, live Bicep on the right.</figcaption></figure>



<h2 class="wp-block-heading">A quick refresher: how firewall policies are structured</h2>



<p class="wp-block-paragraph">An Azure Firewall Policy holds its rules in three levels:</p>



<ul class="wp-block-list">
<li><strong>Rule collection groups (RCGs)</strong>: the top-level containers, each with a priority. In practice you use them to separate platform rules from workload rules.</li>

<li><strong>Rule collections (RCs)</strong>: inside a group, each with its own priority, a type (filter or DNAT) and an action (allow or deny).</li>

<li><strong>Rules</strong>: network rules (IP addresses, ports, protocols), application rules (FQDNs, URLs) or NAT rules.</li>
</ul>



<p class="wp-block-paragraph">Azure Firewall evaluates DNAT rules first, then network rules, then application rules. Within each type, groups and collections are processed in priority order, lowest number first, and the first match wins. A sensible structure and consistent priorities are therefore not cosmetic: they decide what traffic is allowed.</p>



<h2 class="wp-block-heading">What Firewall Policy Studio does</h2>



<h3 class="wp-block-heading">A visual editor with live Bicep</h3>



<p class="wp-block-paragraph">The middle panel shows every rule collection group with its collections and rules: sources, destinations, protocols and ports at a glance. Drag rule collections between groups and rules between collections to restructure a policy. The right panel shows the generated Bicep template, updated live as you edit.</p>



<h3 class="wp-block-heading">Naming conventions, enforced</h3>



<p class="wp-block-paragraph">Names are checked against a naming convention when you save a group or collection:</p>



<figure class="wp-block-table"><table><thead><tr><th>Object</th><th>Pattern</th><th>Example</th></tr></thead><tbody><tr><td>Core rule collection group</td><td><code>core-[vendor]-[service-group]-rcg</code></td><td><code>core-azure-services-rcg</code></td></tr><tr><td>Workload rule collection group</td><td><code>[workload]-[purpose]-rcg-[seq]</code></td><td><code>app-internet-rcg-01</code></td></tr><tr><td>Core rule collection</td><td><code>[allow|deny]-[service-name]-rc</code></td><td><code>allow-active-directory-domain-services-rc</code></td></tr><tr><td>Workload rule collection</td><td><code>[allow|deny]-[scope]-[ruletype]-rc-[seq]</code></td><td><code>allow-web-network-rc-01</code></td></tr><tr><td>Rule</td><td><code>[protocol-or-feature-name]</code></td><td><code>kerberos-authentication</code></td></tr></tbody></table></figure>



<p class="wp-block-paragraph">When every policy follows the same pattern, you can read a rule&#8217;s purpose from its name, and reviews get a lot faster.</p>



<h3 class="wp-block-heading">Service packs: a baseline in one click</h3>



<p class="wp-block-paragraph">Most policies start with the same plumbing. Built-in service packs insert a complete, named rule collection group:</p>



<ul class="wp-block-list">
<li><strong>Microsoft Core Services</strong>: Active Directory (Kerberos, LDAP, RPC, Netlogon, global catalog), DNS, NTP and similar.</li>

<li><strong>Azure Core Services</strong>: the Azure platform services that workloads typically need.</li>

<li><strong>Core Internet Connectivity</strong>: a baseline for outbound internet access.</li>
</ul>



<h3 class="wp-block-heading">Import what you already have</h3>



<p class="wp-block-paragraph">You don&#8217;t have to start from scratch. The studio reads:</p>



<ul class="wp-block-list">
<li>Bicep files it generated itself (they embed the policy data, so a round trip is lossless).</li>

<li>Parameter-driven Bicep templates, where the groups are defined as a <code>ruleCollectionGroups</code> array: the most common enterprise format.</li>

<li>ARM JSON templates and plain Bicep with firewall policy resources, on a best-effort basis.</li>

<li><strong>CSV files</strong> with rules or IP groups, with downloadable templates. Handy when a rule request arrives as a spreadsheet.</li>
</ul>



<h3 class="wp-block-heading">Clean output</h3>



<p class="wp-block-paragraph">Normalize priorities to clean, evenly spaced values with one click, choose the API version for the generated resources, and download a single <code>.bicep</code> file or a split <code>.zip</code>, or copy the template to the clipboard.</p>



<h2 class="wp-block-heading">Deploying the result</h2>



<p class="wp-block-paragraph">The generated template targets a resource group and adds the rule collection groups to an <em>existing</em> firewall policy. Always look at the what-if first: deploying a rule collection group replaces its complete contents.</p>



<pre class="wp-block-code language-bash"><code>az deployment group what-if \
  --resource-group rg-network-hub-prd-001 \
  --template-file fw-policy-shared-prod.bicep \
  --parameters firewallPolicyName=fw-policy-shared-prod

az deployment group create \
  --resource-group rg-network-hub-prd-001 \
  --template-file fw-policy-shared-prod.bicep \
  --parameters firewallPolicyName=fw-policy-shared-prod</code></pre>



<div class="wp-block-group is-style-callout has-global-padding is-layout-constrained wp-block-group-is-layout-constrained">
<p class="wp-block-paragraph"><strong>Keep the policy in git</strong> Treat the downloaded Bicep as the source of truth: commit it, review changes in pull requests and deploy it from a pipeline. The studio is for editing and restructuring, not a place to store your policy.</p>
</div>



<h2 class="wp-block-heading">Your data stays in your browser</h2>



<p class="wp-block-paragraph">Firewall rules describe your network, so they are sensitive. Firewall Policy Studio stores nothing on the server: your policy, imports and generated Bicep exist only in your browser tab, and leave it only when you download or copy something. Refreshing the page clears everything.</p>



<p class="wp-block-paragraph">This isn&#8217;t just a promise. The site&#8217;s Content-Security-Policy contains <code>connect-src 'none'</code> and <code>form-action 'none'</code>, which tells the browser to block the page from sending data anywhere. It is also why the site scores an A+ on MDN Observatory; more about that in my <a href="https://www.armandit.com/2026/11/29/security-headers-mdn-observatory/">post on security headers</a>.</p>



<h2 class="wp-block-heading">Limitations</h2>



<ul class="wp-block-list">
<li>Import works best with files the studio generated itself; heavily customized Bicep may need some cleanup first.</li>

<li>It edits rule collection groups and rules, not the firewall policy resource itself (threat intelligence, DNS proxy, TLS inspection settings and so on).</li>

<li>Nothing is saved between sessions: download your work before closing the tab.</li>
</ul>



<h2 class="wp-block-heading">Try it</h2>



<p class="wp-block-paragraph">Open <a href="https://fps.armandit.com/" target="_blank" rel="noopener">fps.armandit.com</a>, insert the Microsoft Core Services pack and watch the Bicep appear. Feedback and feature ideas are welcome via <a href="https://www.linkedin.com/in/armandhatting/" target="_blank" rel="noopener">LinkedIn</a>.</p>



<h2 class="wp-block-heading">Sources and further reading</h2>

<ul class="wp-block-list">
<li><a href="https://learn.microsoft.com/azure/firewall/rule-processing" target="_blank" rel="noopener">Azure Firewall rule processing logic</a></li>

<li><a href="https://learn.microsoft.com/azure/firewall/policy-rule-sets" target="_blank" rel="noopener">Azure Firewall Policy rule sets</a></li>

<li><a href="https://learn.microsoft.com/azure/templates/microsoft.network/firewallpolicies/rulecollectiongroups?pivots=deployment-language-bicep" target="_blank" rel="noopener">Microsoft.Network/firewallPolicies/ruleCollectionGroups (Bicep reference)</a></li>
</ul>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
