mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-26 22:47:49 +02:00
Cortex - initial commit
This commit is contained in:
+42
-8
@@ -20,6 +20,28 @@ hiveconf:
|
||||
- user: 939
|
||||
- group: 939
|
||||
- template: jinja
|
||||
|
||||
cortexconfdir:
|
||||
file.directory:
|
||||
- name: /opt/so/conf/cortex
|
||||
- makedirs: True
|
||||
- user: 939
|
||||
- group: 939
|
||||
|
||||
cortexlogdir:
|
||||
file.directory:
|
||||
- name: /opt/so/log/cortex
|
||||
- makedirs: True
|
||||
- user: 939
|
||||
- group: 939
|
||||
|
||||
cortexconf:
|
||||
file.recurse:
|
||||
- name: /opt/so/conf/cortex
|
||||
- source: salt://hive/thehive/etc
|
||||
- user: 939
|
||||
- group: 939
|
||||
- template: jinja
|
||||
|
||||
# Install Elasticsearch
|
||||
|
||||
@@ -68,15 +90,27 @@ so-thehive-es:
|
||||
|
||||
#so-corteximage:
|
||||
# cmd.run:
|
||||
# - name: docker pull --disable-content-trust=false docker.io/soshybridhunter/so-cortex:HH1.0.3
|
||||
# - name: docker pull --disable-content-trust=false docker.io/soshybridhunter/so-cortex:HH1.1.1
|
||||
|
||||
#so-cortex:
|
||||
# docker_container.running:
|
||||
# - image: thehiveproject/cortex:latest
|
||||
# - hostname: so-cortex
|
||||
# - name: so-cortex
|
||||
# - port_bindings:
|
||||
# - 0.0.0.0:9001:9001
|
||||
so-cortex:
|
||||
docker_container.running:
|
||||
# - require:
|
||||
# - so-corteximage
|
||||
# - image: docker.io/soshybridhunter/so-cortex:HH1.1.1
|
||||
- image: so-cortex:dev
|
||||
- hostname: so-cortex
|
||||
- name: so-cortex
|
||||
- user: 939
|
||||
- binds:
|
||||
- /opt/so/conf/hive/etc/cortex-application.conf:/opt/cortex/conf/application.conf:ro
|
||||
- port_bindings:
|
||||
- 0.0.0.0:9001:9001
|
||||
|
||||
cortexscript:
|
||||
cmd.script:
|
||||
- source: salt://hive/thehive/scripts/cortex_init.sh
|
||||
- cwd: /opt/so
|
||||
- template: jinja
|
||||
|
||||
so-thehiveimage:
|
||||
cmd.run:
|
||||
|
||||
Reference in New Issue
Block a user