Source |
Repository Community-Policy GitHub JSON Community-Policy GitHub |
||||||||||||||||||||||||||||||||||||||||||
Display name | Configure Azure Activity logs to stream to specified Event Hub v2 | ||||||||||||||||||||||||||||||||||||||||||
Id | b2215d7b-25ea-411f-8b04-8c30dc61bad9 | ||||||||||||||||||||||||||||||||||||||||||
Version | 1.0.0 Details on versioning |
||||||||||||||||||||||||||||||||||||||||||
Category | Monitoring Microsoft Learn |
||||||||||||||||||||||||||||||||||||||||||
Description | Deploys the diagnostic settings for Azure Activity to stream subscriptions audit logs to an Event Hub to monitor subscription-level events. Amended built-in policy to add eventHubName-parameter to stream to a specific event hub. Allows to specify and audit all categories in one policy. | ||||||||||||||||||||||||||||||||||||||||||
Mode | All | ||||||||||||||||||||||||||||||||||||||||||
Type | Custom Community | ||||||||||||||||||||||||||||||||||||||||||
Effect | Default DeployIfNotExists Allowed DeployIfNotExists, AuditIfNotExists, Disabled |
||||||||||||||||||||||||||||||||||||||||||
RBAC role(s) |
|
||||||||||||||||||||||||||||||||||||||||||
Rule aliases | THEN-ExistenceCondition (5)
|
||||||||||||||||||||||||||||||||||||||||||
Rule resource types | IF (1) Microsoft.Resources/subscriptions THEN-Deployment (1) Microsoft.Insights/diagnosticSettings |
||||||||||||||||||||||||||||||||||||||||||
JSON |
|