Merge pull request #10290 from Security-Onion-Solutions/ui/logstash

UI/logstash
This commit is contained in:
Josh Patterson
2023-05-05 09:01:57 -04:00
committed by GitHub
5 changed files with 6 additions and 2 deletions

View File

@@ -211,6 +211,8 @@ base:
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %} {% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
- elasticsearch.auth - elasticsearch.auth
{% endif %} {% endif %}
- redis.soc_redis
- redis.adv_redis
- minions.{{ grains.id }} - minions.{{ grains.id }}
- minions.adv_{{ grains.id }} - minions.adv_{{ grains.id }}

View File

@@ -47,7 +47,7 @@ elasticsearch:
cascriptsync: cascriptsync:
file.managed: file.managed:
- name: /usr/sbin/so-catrust - name: /usr/sbin/so-catrust
- source: salt://elasticsearch/tools/sbin/so-catrust - source: salt://elasticsearch/tools/sbin_jinja/so-catrust
- user: 939 - user: 939
- group: 939 - group: 939
- mode: 750 - mode: 750
@@ -83,7 +83,9 @@ elasticsearch_sbin_jinja:
- file_mode: 755 - file_mode: 755
- template: jinja - template: jinja
- exclude_pat: - exclude_pat:
- so-elasticsearch-ilm-policy-load - so-elasticsearch-ilm-policy-load # exclude this because we need to watch it for changes, we sync it in another state
- defaults:
GLOBALS: {{ GLOBALS }}
so-elasticsearch-ilm-policy-load-script: so-elasticsearch-ilm-policy-load-script:
file.managed: file.managed: