This repository was archived by the owner on May 5, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -210,7 +210,10 @@ Secret class: [aws](Secret-References.md#aws-secret-class)
210210
211211``` hcl
212212source azure_activity_logs "audit_logs" {
213- event_hub_id = "/subscriptions/1234/resourceGroups/my-group/providers/Microsoft.EventHub/namespaces/mylogs"
213+ subscription_id = "1234"
214+
215+ event_hubs_namespace_id = "/subscriptions/1234/resourceGroups/my-group/providers/Microsoft.EventHub/namespaces/mylogs"
216+ event_hub_name = "activity-logs" //optional
214217 event_hubs_sas_policy = "RootManageSharedAccessKey" // optional
215218
216219 categories = ["Administrative", "Security", "Policy"] // optional
@@ -228,7 +231,9 @@ Secret class: [azure_sp](Secret-References.md#azure_sp-secret-class)
228231``` hcl
229232source azure_blob_storage "my_files" {
230233 storage_account_id = "/subscriptions/1234/resourceGroups/my-group/providers/Microsoft.Storage/storageAccounts/myfiles"
231- event_hub_id = "/subscriptions/1234/resourceGroups/my-group/providers/Microsoft.EventHub/namespaces/myevents"
234+
235+ event_hubs_namespace_id = "/subscriptions/1234/resourceGroups/my-group/providers/Microsoft.EventHub/namespaces/myevents"
236+ event_hub_name = "files-events" //optional
232237
233238 event_types = ["Microsoft.Storage.BlobCreated", "Microsoft.Storage.BlobDeleted"] // optional
234239
You can’t perform that action at this time.
0 commit comments