mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
resolve conflicts
This commit is contained in:
@@ -19,7 +19,7 @@ output {
|
|||||||
elasticsearch {
|
elasticsearch {
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
index => "logstash-import-%{+YYYY.MM.dd}"
|
index => "logstash-import-%{+YYYY.MM.dd}"
|
||||||
template_name => "logstash-*"
|
template_name => "logstash"
|
||||||
template => "/logstash-template.json"
|
template => "/logstash-template.json"
|
||||||
template_overwrite => true
|
template_overwrite => true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ output {
|
|||||||
elasticsearch {
|
elasticsearch {
|
||||||
hosts => "{{ ES }}"
|
hosts => "{{ ES }}"
|
||||||
index => "logstash-import-%{+YYYY.MM.dd}"
|
index => "logstash-import-%{+YYYY.MM.dd}"
|
||||||
template_name => "logstash-*"
|
template_name => "logstash"
|
||||||
template => "/logstash-template.json"
|
template => "/logstash-template.json"
|
||||||
template_overwrite => true
|
template_overwrite => true
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ stenoconfdir:
|
|||||||
- makedirs: True
|
- makedirs: True
|
||||||
|
|
||||||
{% if BPF_STENO %}
|
{% if BPF_STENO %}
|
||||||
{% set BPF_CALC = salt['cmd.script']('/usr/sbin/so-bpf-compile', INTERFACE + ' ' + BPF_STENO|join(" ") ) %}
|
{% set BPF_CALC = salt['cmd.script']('/usr/sbin/so-bpf-compile', INTERFACE + ' ' + BPF_STENO|join(" "),cwd='/root') %}
|
||||||
{% if BPF_CALC['stderr'] == "" %}
|
{% if BPF_CALC['stderr'] == "" %}
|
||||||
{% set BPF_COMPILED = ",\\\"--filter=" + BPF_CALC['stdout'] + "\\\"" %}
|
{% set BPF_COMPILED = ",\\\"--filter=" + BPF_CALC['stdout'] + "\\\"" %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
@@ -84,7 +84,7 @@ surithresholding:
|
|||||||
|
|
||||||
# BPF compilation and configuration
|
# BPF compilation and configuration
|
||||||
{% if BPF_NIDS %}
|
{% if BPF_NIDS %}
|
||||||
{% set BPF_CALC = salt['cmd.script']('/usr/sbin/so-bpf-compile', interface + ' ' + BPF_NIDS|join(" ") ) %}
|
{% set BPF_CALC = salt['cmd.script']('/usr/sbin/so-bpf-compile', interface + ' ' + BPF_NIDS|join(" "),cwd='/root') %}
|
||||||
{% if BPF_CALC['stderr'] == "" %}
|
{% if BPF_CALC['stderr'] == "" %}
|
||||||
{% set BPF_STATUS = 1 %}
|
{% set BPF_STATUS = 1 %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ plcronscript:
|
|||||||
|
|
||||||
# BPF compilation and configuration
|
# BPF compilation and configuration
|
||||||
{% if BPF_ZEEK %}
|
{% if BPF_ZEEK %}
|
||||||
{% set BPF_CALC = salt['cmd.script']('/usr/sbin/so-bpf-compile', INTERFACE + ' ' + BPF_ZEEK|join(" ") ) %}
|
{% set BPF_CALC = salt['cmd.script']('/usr/sbin/so-bpf-compile', INTERFACE + ' ' + BPF_ZEEK|join(" "),cwd='/root') %}
|
||||||
{% if BPF_CALC['stderr'] == "" %}
|
{% if BPF_CALC['stderr'] == "" %}
|
||||||
{% set BPF_STATUS = 1 %}
|
{% set BPF_STATUS = 1 %}
|
||||||
{% else %}
|
{% else %}
|
||||||
|
|||||||
Reference in New Issue
Block a user