IDH Initial Support

This commit is contained in:
Josh Brower
2022-02-09 10:37:47 -05:00
parent ac8e06e79b
commit 30c40ed3d7
2 changed files with 5 additions and 11 deletions

View File

@@ -55,6 +55,7 @@ container_list() {
"so-fleet"
"so-fleet-launcher"
"so-grafana"
"so-idh"
"so-idstools"
"so-influxdb"
"so-kibana"

View File

@@ -8,7 +8,7 @@ temp:
- group: 939
- makedirs: True
# Create a config directory
# Create a log directory
configdir:
file.directory:
- name: /nsm/idh
@@ -27,20 +27,13 @@ idhfiles:
- replace: False
- template: jinja
# Build IDH Docker
so-idh:
docker_image.present:
- build: /opt/so/saltstack/local/salt/idh
- tag: latest
# Set IDH Docker to run
so-idh-run:
docker_container.running:
- image: so-idh
- image: {{ MANAGER }}:5000/{{ IMAGEREPO }}/so-idh:{{ VERSION }}
- hostname: so-idh
- name: so-idh
- detach: True
- network_mode: host
- restart_policy: always
- binds:
- /nsm/idh:/var/tmp:rw
- /opt/so/conf/idh/opencanary.conf:/etc/opencanaryd/opencanary.conf:ro
- /opt/so/conf/idh/opencanary.conf:/etc/opencanaryd/opencanary.conf:ro