We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5e951f commit 419f35bCopy full SHA for 419f35b
modules/integrations/event-hub/organizational.tf
@@ -37,15 +37,10 @@ resource "azurerm_monitor_diagnostic_setting" "sysdig_org_diagnostic_setting" {
37
eventhub_authorization_rule_id = azurerm_eventhub_namespace_authorization_rule.sysdig_rule.id
38
eventhub_name = azurerm_eventhub.sysdig_event_hub.name
39
40
- enabled_log {
41
- category = "Administrative"
42
- }
43
-
44
45
- category = "Security"
46
47
48
49
- category = "Policy"
+ dynamic "enabled_log" {
+ for_each = var.enabled_platform_logs
+ content {
+ category = enabled_log.value
+ }
50
}
51
0 commit comments