Skip to content

Commit 9629a65

Browse files
authored
Merge pull request Yelp#2416 from defensivedepth/patch-1
Remove hive_port
2 parents 0172a8a + 1d3c102 commit 9629a65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elastalert/alerts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2111,7 +2111,7 @@ def alert(self, matches):
21112111
connection_details = self.rule['hive_connection']
21122112

21132113
api = TheHiveApi(
2114-
'{hive_host}:{hive_port}'.format(**connection_details),
2114+
connection_details.get('hive_host'),
21152115
connection_details.get('hive_apikey', ''),
21162116
proxies=connection_details.get('hive_proxies', {'http': '', 'https': ''}),
21172117
cert=connection_details.get('hive_verify', False))

0 commit comments

Comments
 (0)