Azure Policy Definitions for Event Hub Minimum TLS Version and Public Network Access

less than 1 minute read

Azure Event Hub Namespace has added support for 2 additional properties in the latest API version 2022-01-01-preview:

  • minimumTlsVersion: the minimum TLS version that the Event Hub Namespace supports.
  • publicNetworkAccess: This determines if traffic is allowed over public network. By default it is enabled.

01

Since Microsoft has not released any built-in policies for controlling these 2 properties, I have created 2 custom policies to enforce the minimum TLS version and restrict public network access. You can find the policy definitions in my Azure Policy GitHub repo

Leave a comment