Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New policy: Configure private DNS Zones for an Azure Data Explorer cluster groupID #494

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

erwinkramer
Copy link

@erwinkramer erwinkramer commented Feb 28, 2025

Configure private DNS Zones for an Azure Data Explorer cluster groupID

This is one of those special private endpoints that require a registration in multiple private DNS zones just for one PE (4 in this case), similarly to Configure Azure Monitor Private Link Scope to use private DNS zones (that one has 5).

There exists just one subresource for Microsoft.Kusto/Clusters, but i implemented a policyRule on the combination of privateLinkServiceId and groupIds, so if there will be another subresource implemented for kusto, this policy won't collide.

I copied the wording and style from configure-a-private-dns-zone-id-for-cognitive-services-account-groupid.

I ran it through the Confirm-PolicyDefinitionIsValid.ps1 without issues and formatted via Out-FormattedPolicyDefinition.ps1.

If you want to verify this policy yourself in your own environment, you can take the Private Endpoint as Bicep, as specified at erwinkramer/kusto-event-hub-law, or just deploy that whole solution. Or you can use the azure-quickstart-template and only implement the PE.

After PR merge

  1. Should be a built-in one @ https://github.com/Azure/azure-policy , because the generic Configure a private DNS Zone ID for file groupID isn't suitable for multiple zone registrations for one PE. Let me know if you want me to post an 'idea' into Azure feedback as suggested in the readme here after completion.

  2. Include in Enterprise Scale - Deploy-Private-DNS-Zones set definition, that definition already has a azureDataExplorerPrivateDnsZoneId value added for dnsZoneNames, but no policy is using that value yet. Could be the one in this PR. I can suggest a PR for that repo, after the policy is promoted to built-in. Let me know if you like that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant