Skip to content

Commit 640ae37

Browse files
committed
add aggregation key
1 parent 6546ba5 commit 640ae37

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/robusta/integrations/slack/sender.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,6 @@ def __create_finding_header_preview(
455455
else:
456456
alert_type = "Notification"
457457

458-
# Prepare resource text and emoji if available
459458
resource_emoji = ":package:"
460459

461460
subject_kind = ""
@@ -507,6 +506,7 @@ def __create_finding_header_preview(
507506
"subject_name": subject_name,
508507
"resource_emoji": resource_emoji,
509508
"mention": mention,
509+
"aggregation_key": finding.aggregation_key,
510510
"labels": finding.subject.labels if finding.subject else {},
511511
"annotations": finding.subject.annotations if finding.subject else {},
512512
}

0 commit comments

Comments
 (0)