Skip to content

Commit

Permalink
Merge pull request #87 from alvarolmedo/task/show_warn_false
Browse files Browse the repository at this point in the history
Task/show warn false
  • Loading branch information
jertel authored Apr 27, 2021
2 parents 9016d3b + 5d3c7ba commit 77575b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions elastalert/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ def __init__(self, conf):
use_ssl=conf['use_ssl'],
verify_certs=conf['verify_certs'],
ca_certs=conf['ca_certs'],
ssl_show_warn=conf['ssl_show_warn'],
connection_class=RequestsHttpConnection,
http_auth=conf['http_auth'],
headers=conf['headers'],
Expand Down
1 change: 1 addition & 0 deletions elastalert/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ def build_es_conn_config(conf):
parsed_conf['es_url_prefix'] = ''
parsed_conf['es_conn_timeout'] = conf.get('es_conn_timeout', 20)
parsed_conf['send_get_body_as'] = conf.get('es_send_get_body_as', 'GET')
parsed_conf['ssl_show_warn'] = conf.get('ssl_show_warn', True)

if os.environ.get('ES_USERNAME'):
parsed_conf['es_username'] = os.environ.get('ES_USERNAME')
Expand Down

0 comments on commit 77575b8

Please sign in to comment.