Skip to content

Commit

Permalink
Merge 186d3a3 into b510d39
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryxias committed Apr 14, 2021
2 parents b510d39 + 186d3a3 commit 1a1dc7b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion streamalert/shared/alert.py
Expand Up @@ -422,7 +422,10 @@ def merge(cls, alerts):
new_record,
alerts[-1].outputs, # Use the most recent set of outputs
cluster=alerts[0].cluster,
context=alerts[0].context,
context={
alert.alert_id: alert.context
for alert in alerts
},
log_source=alerts[0].log_source,
log_type=alerts[0].log_type,
publishers=alerts[0].publishers,
Expand Down

0 comments on commit 1a1dc7b

Please sign in to comment.