mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
move addon integration script run to elasticfleet state
Signed-off-by: reyesj2 <94730068+reyesj2@users.noreply.github.com>
This commit is contained in:
@@ -151,6 +151,10 @@ so-elastic-fleet-integration-upgrade:
|
|||||||
cmd.run:
|
cmd.run:
|
||||||
- name: /usr/sbin/so-elastic-fleet-integration-upgrade
|
- name: /usr/sbin/so-elastic-fleet-integration-upgrade
|
||||||
|
|
||||||
|
so-elastic-fleet-addon-integrations:
|
||||||
|
cmd.run:
|
||||||
|
- name: /usr/sbin/so-elastic-fleet-optional-integrations-load
|
||||||
|
|
||||||
{% if ELASTICFLEETMERGED.config.defend_filters.enable_auto_configuration %}
|
{% if ELASTICFLEETMERGED.config.defend_filters.enable_auto_configuration %}
|
||||||
so-elastic-defend-manage-filters-file-watch:
|
so-elastic-defend-manage-filters-file-watch:
|
||||||
cmd.run:
|
cmd.run:
|
||||||
|
|||||||
@@ -172,13 +172,6 @@ so-elasticsearch-ilm-policy-load:
|
|||||||
- onchanges:
|
- onchanges:
|
||||||
- file: so-elasticsearch-ilm-policy-load-script
|
- file: so-elasticsearch-ilm-policy-load-script
|
||||||
|
|
||||||
configure-addon-fleet-integrations:
|
|
||||||
cmd.run:
|
|
||||||
- name: /usr/sbin/so-elastic-fleet-optional-integrations-load
|
|
||||||
- cwd: /opt/so
|
|
||||||
- require:
|
|
||||||
- docker_container: so-elasticsearch
|
|
||||||
|
|
||||||
so-elasticsearch-templates-reload:
|
so-elasticsearch-templates-reload:
|
||||||
file.absent:
|
file.absent:
|
||||||
- name: /opt/so/state/estemplates.txt
|
- name: /opt/so/state/estemplates.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user