Add policy: Deploy DNS Security Policy VNet Link by Region#535
Open
walterzjunior wants to merge 1 commit into
Open
Add policy: Deploy DNS Security Policy VNet Link by Region#535walterzjunior wants to merge 1 commit into
walterzjunior wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
New Policy: Deploy DNS Security Policy VNet Link by Region
Category: Network
Effect: DeployIfNotExists / AuditIfNotExists / Disabled
Summary
Automatically creates a DNS Resolver Policy Virtual Network Link for every VNet
using Azure-provided DNS, linking it to the corresponding regional DNS Security
Policy in a central security subscription. Uses a tag-based existence check and
a cross-subscription nested deployment to create the link resource.
Use Case
Organizations using Azure DNS Security Policies (DNS Resolver Policy with security
rules) need to link all VNets to the regional policy. This policy automates the
linking for VNets that use Azure-provided DNS (no custom DNS servers configured).
Parameters
effectsecuritySubscriptionIdsecurityResourceGroupsupportedLocationslocationToPolicyMapRBAC Roles Required
4d97b98b-1d4f-4787-a291-c67834d212e7)b24988ac-6180-42a0-ab88-20f7382dd24c) — for cross-subscription deploymentKey Design Decisions
dnsSecurityPolicyLinkedused as existence markerlocationToPolicyMapparameterTested
2025-10-01-preview(DNS Resolver Policies)