mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-06-15 22:58:42 +02:00
IDH - states allowed
This commit is contained in:
@@ -248,7 +248,7 @@
|
||||
{% do allowed_states.append('strelka') %}
|
||||
{% endif %}
|
||||
|
||||
{% if WAZUH and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-node', 'so-managersearch', 'so-heavynode', 'so-receiver']%}
|
||||
{% if WAZUH and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-node', 'so-managersearch', 'so-heavynode', 'so-receiver','so-idh']%}
|
||||
{% do allowed_states.append('wazuh') %}
|
||||
{% endif %}
|
||||
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
FROM python:3.6-slim
|
||||
|
||||
WORKDIR /root/
|
||||
|
||||
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
|
||||
|
||||
RUN apt update && apt-get install -y sudo supervisor && rm -rf /var/lib/apt/lists/*
|
||||
RUN pip install opencanary
|
||||
|
||||
ADD supervise-opencanary.conf /etc/supervisor/conf.d/supervise-opencanary.conf
|
||||
|
||||
CMD ["/usr/bin/supervisord", "-n"]
|
||||
@@ -1,3 +1,7 @@
|
||||
{% set VERSION = salt['pillar.get']('global:soversion', 'HH1.2.2') %}
|
||||
{% set IMAGEREPO = salt['pillar.get']('global:imagerepo') %}
|
||||
{% set MANAGER = salt['grains.get']('master') %}
|
||||
|
||||
# IDH State
|
||||
|
||||
# Create a config directory
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
[program:opencanaryd]
|
||||
command=/usr/local/bin/opencanaryd --start
|
||||
redirect_stderr=true
|
||||
autorestart=true
|
||||
Reference in New Issue
Block a user