Event Hub - oWretch/policy GitHub Wiki

Policy Effects by Policy

Category Policy Platform Landing Zones Production Decommissioned Management Corp Connectivity Sandbox Identity
Event Hub All authorization rules except RootManageSharedAccessKey should be removed from Event Hub namespace
Event Hub clients should not use a namespace level access policy that provides access to all queues and topics in a namespace. To align with the least privilege security model, you should create access policies at the entity level for queues and topics to provide access to only the specific entity
Deny
Disabled
Audit
Deny
Disabled
Audit
Event Hub Azure Event Hub namespaces should have local authentication methods disabled
Disabling local authentication methods improves security by ensuring that Azure Event Hub namespaces exclusively require Microsoft Entra ID identities for authentication. Learn more at: https://aka.ms/disablelocalauth-eh.
Deny
Disabled
Audit
Deny
Disabled
Audit
Event Hub Configure Azure Event Hub namespaces to disable local authentication
Disable local authentication methods so that your Azure Event Hub namespaces exclusively require Microsoft Entra ID identities for authentication. Learn more at: https://aka.ms/disablelocalauth-eh.
Modify
Disabled
Modify
Disabled
Event Hub Configure Event Hub namespaces to use private DNS zones
Use private DNS zones to override the DNS resolution for a private endpoint. A private DNS zone links to your virtual network to resolve to Event Hub namespaces. Learn more at: https://docs.microsoft.com/azure/event-hubs/private-link-service.
DeployIfNotExists
Disabled
Event Hub Event Hub namespaces (Premium) should use a customer-managed key for encryption
Event Hub namespaces (Premium) should use a customer-managed key for encryption.
Deny
Disabled
Audit
Deny
Disabled
Audit
Event Hub Event Hub Namespaces should disable public network access
Azure Event Hub should have public network access disabled. Disabling public network access improves security by ensuring that the resource isn't exposed on the public internet. You can limit exposure of your resources by creating private endpoints instead. Learn more at: https://docs.microsoft.com/azure/event-hubs/private-link-service
Deny
Disabled
Audit
Event Hub Event Hub namespaces should have double encryption enabled
Enabling double encryption helps protect and safeguard your data to meet your organizational security and compliance commitments. When double encryption has been enabled, data in the storage account is encrypted twice, once at the service level and once at the infrastructure level, using two different encryption algorithms and two different keys.
Deny
Disabled
Audit
Deny
Disabled
Audit
Event Hub Event Hub namespaces should use a customer-managed key for encryption
Azure Event Hubs supports the option of encrypting data at rest with either Microsoft-managed keys (default) or customer-managed keys. Choosing to encrypt data using customer-managed keys enables you to assign, rotate, disable, and revoke access to the keys that Event Hub will use to encrypt data in your namespace. Note that Event Hub only supports encryption with customer-managed keys for namespaces in dedicated clusters.
Audit
Disabled
Audit
Disabled
Event Hub Event Hub namespaces should use a valid TLS version
Event Hub namespaces should use a valid TLS version.
Deny
Disabled
Audit
Event Hub Resource logs in Event Hub should be enabled
Audit enabling of resource logs. This enables you to recreate activity trails to use for investigation purposes; when a security incident occurs or when your network is compromised
AuditIfNotExists
Disabled

Policy Parameters by Policy

Category Policy Platform Landing Zones Production Decommissioned Management Corp Connectivity Sandbox Identity
Event Hub Configure Event Hub namespaces to use private DNS zones
Use private DNS zones to override the DNS resolution for a private endpoint. A private DNS zone links to your virtual network to resolve to Event Hub namespaces. Learn more at: https://docs.microsoft.com/azure/event-hubs/private-link-service.
azureEventHubNamespacePrivateDnsZoneId = --DNSZonePrefix--privatelink.servicebus...
Event Hub Resource logs in Event Hub should be enabled
Audit enabling of resource logs. This enables you to recreate activity trails to use for investigation purposes; when a security incident occurs or when your network is compromised
diagnosticsLogsInEventHubRetentionDays = 1
⚠️ **GitHub.com Fallback** ⚠️