This repository was archived by the owner on May 5, 2025. It is now read-only.
File tree 1 file changed +7
-2
lines changed
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)
210
210
211
211
``` hcl
212
212
source 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
214
217
event_hubs_sas_policy = "RootManageSharedAccessKey" // optional
215
218
216
219
categories = ["Administrative", "Security", "Policy"] // optional
@@ -228,7 +231,9 @@ Secret class: [azure_sp](Secret-References.md#azure_sp-secret-class)
228
231
``` hcl
229
232
source azure_blob_storage "my_files" {
230
233
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
232
237
233
238
event_types = ["Microsoft.Storage.BlobCreated", "Microsoft.Storage.BlobDeleted"] // optional
234
239
You can’t perform that action at this time.
0 commit comments