Merge pull request #4853 from Security-Onion-Solutions/fix/curator_http_auth

Use http_auth instead of username/password until Curator is updated to latest version
This commit is contained in:
Mike Reeves
2021-07-19 12:45:29 -04:00
committed by GitHub

View File

@@ -18,17 +18,15 @@ client:
hosts: hosts:
- {{elasticsearch}} - {{elasticsearch}}
port: 9200 port: 9200
{% if salt['pillar.get']('elasticsearch:auth:enabled') is sameas true %} {%- if salt['pillar.get']('elasticsearch:auth:enabled') is sameas true %}
username: {{ ES_USER }} http_auth: {{ ES_USER }}:{{ ES_PASS }}
password: {{ ES_PASS }} {%- endif %}
{% endif %}
url_prefix: url_prefix:
use_ssl: True use_ssl: True
certificate: certificate:
client_cert: client_cert:
client_key: client_key:
ssl_no_validate: True ssl_no_validate: True
http_auth:
timeout: 30 timeout: 30
master_only: False master_only: False