mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-26 22:47:49 +02:00
add pcap to import node, test not starting zeek docker by default
This commit is contained in:
@@ -399,6 +399,7 @@ base:
|
||||
- firewall
|
||||
- idstools
|
||||
- suricata.manager
|
||||
- pcap
|
||||
- elasticsearch
|
||||
- kibana
|
||||
- filebeat
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
{% from "zeek/map.jinja" import START with context %}
|
||||
|
||||
{% set VERSION = salt['pillar.get']('global:soversion', 'HH1.2.2') %}
|
||||
{% set IMAGEREPO = salt['pillar.get']('global:imagerepo') %}
|
||||
{% set MANAGER = salt['grains.get']('master') %}
|
||||
@@ -167,6 +169,7 @@ localzeeksync:
|
||||
so-zeek:
|
||||
docker_container.running:
|
||||
- image: {{ MANAGER }}:5000/{{ IMAGEREPO }}/so-zeek:{{ VERSION }}
|
||||
- start: {{ START }}
|
||||
- privileged: True
|
||||
- binds:
|
||||
- /nsm/zeek/logs:/nsm/zeek/logs:rw
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
# don't start the docker container if it is an import node
|
||||
{% if grains.id.split('_')|last == 'import' %}
|
||||
{% set START = False %}
|
||||
{% else %}
|
||||
{% set START = True %}
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user