Skip to content

Commit

Permalink
Update slack.py
Browse files Browse the repository at this point in the history
  • Loading branch information
luffynextgen authored Nov 15, 2023
1 parent eb3979d commit 6291cc8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions elastalert/alerters/slack.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@ def __init__(self, rule):
self.slack_attach_kibana_discover_url = self.rule.get('slack_attach_kibana_discover_url', False)
self.slack_kibana_discover_color = self.rule.get('slack_kibana_discover_color', '#ec4b98')
self.slack_kibana_discover_title = self.rule.get('slack_kibana_discover_title', 'Discover in Kibana')
self.slack_attach_opensearch_discover_url = self.rule.get('slack_attach_kibana_discover_url', False)
self.slack_opensearch_discover_color = self.rule.get('slack_kibana_discover_color', '#ec4b98')
self.slack_opensearch_discover_title = self.rule.get('slack_kibana_discover_title', 'Discover in Opensearch')
self.slack_attach_opensearch_discover_url = self.rule.get('slack_attach_opensearch_discover_url', False)
self.slack_opensearch_discover_color = self.rule.get('slack_opensearch_discover_color', '#ec4b98')
self.slack_opensearch_discover_title = self.rule.get('slack_opensearch_discover_title', 'Discover in Opensearch')
self.slack_footer = self.rule.get('slack_footer', '')
self.slack_footer_icon = self.rule.get('slack_footer_icon', '')
self.slack_image_url = self.rule.get('slack_image_url', '')
Expand Down

0 comments on commit 6291cc8

Please sign in to comment.