last sync: 2025-May-01 19:36:43 UTC

Event Hub firewall should only allow certain IPs

Community Policy definition

Source Repository Community-Policy GitHub
JSON Community-Policy GitHub
Deploy policy bcb95ef4-f1df-414d-ac57-8a4e308512ba (1.0.0) to Azure
Display name Event Hub firewall should only allow certain IPs
Id bcb95ef4-f1df-414d-ac57-8a4e308512ba
Version 1.0.0
Details on versioning
Category Event Hub
Microsoft Learn
Description This policy allows only restricted IPs for Event hub firewall
Mode All
Type Custom Community
Effect Default
Audit
Allowed
Deny, Audit, Disabled
RBAC role(s) none
Rule aliases IF (2)
Alias Namespace ResourceType Path PathIsDefault DefaultPath Modifiable
Microsoft.EventHub/namespaces/networkRuleSets/default.defaultAction Microsoft.EventHub namespaces/networkrulesets properties.defaultAction True True
Microsoft.EventHub/namespaces/networkRuleSets/default.ipRules[*].ipMask Microsoft.EventHub namespaces/networkrulesets properties.ipRules[*].ipMask True True
Rule resource types IF (1)
Microsoft.EventHub/namespaces/networkRuleSets
JSON
EPAC
Deploy policy bcb95ef4-f1df-414d-ac57-8a4e308512ba (1.0.0) to Azure