Skip to content

Commit

Permalink
Merge pull request #19 from quantum-sec/feature/XDR-entity
Browse files Browse the repository at this point in the history
XDR: Fix entity mapping null scenario
  • Loading branch information
chrisjaimon2012 authored Aug 30, 2023
2 parents c31dcbf + 5184c64 commit d51e484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/sentinel-scheduled-alert-rule/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ resource "azurerm_sentinel_alert_rule_scheduled" "rule" {
}

dynamic "entity_mapping" {
for_each = var.entity_mappings
for_each = var.entity_mappings == null ? [] : var.entity_mappings
content {
entity_type = entity_mapping.value["entityType"]
dynamic "field_mapping" {
Expand Down

0 comments on commit d51e484

Please sign in to comment.