Files
securityonion/salt/kibana/so_config_load.sls
Mike Reeves 2bd9dd80e2 Move In Day
2022-09-07 09:06:25 -04:00

30 lines
926 B
Plaintext

# Copyright Security Onion Solutions LLC and/or licensed to Security Onion Solutions LLC under one
# or more contributor license agreements. Licensed under the Elastic License 2.0 as shown at
# https://securityonion.net/license; you may not use this file except in compliance with the
# Elastic License 2.0.
include:
- kibana
config_saved_objects:
file.managed:
- name: /opt/so/conf/kibana/config_saved_objects.ndjson.template
- source: salt://kibana/files/config_saved_objects.ndjson
- user: 932
- group: 939
config_saved_objects_changes:
file.absent:
- names:
- /opt/so/state/kibana_config_saved_objects.txt
- onchanges:
- file: config_saved_objects
so-kibana-config-load:
cmd.run:
- name: /usr/sbin/so-kibana-config-load -i /opt/so/conf/kibana/config_saved_objects.ndjson.template
- cwd: /opt/so
- require:
- sls: kibana
- file: config_saved_objects