Suricata Meta Data Option

This commit is contained in:
Mike Reeves
2018-11-13 11:25:30 -05:00
parent 62d28942f8
commit a70b7ed3de
4 changed files with 1933 additions and 3 deletions

View File

@@ -1,3 +1,2 @@
salt/bro/files/local.bro salt/bro/files/local.bro
salt/bro/files/local.bro.community salt/bro/files/local.bro.community
salt/suricata/suricata.yaml

View File

@@ -1,5 +1,6 @@
{%- set MASTER = grains['master'] %} {%- set MASTER = grains['master'] %}
{%- set HOSTNAME = salt['grains.get']('host', '') %} {%- set HOSTNAME = salt['grains.get']('host', '') %}
{%- set BROVER = salt['pillar.get']('static:broversion', 'COMMUNITY') %}
name: {{ HOSTNAME }} name: {{ HOSTNAME }}
@@ -10,7 +11,7 @@ filebeat.modules:
# List of prospectors to fetch data. # List of prospectors to fetch data.
filebeat.prospectors: filebeat.prospectors:
#------------------------------ Log prospector -------------------------------- #------------------------------ Log prospector --------------------------------
{%- if BROVER != SURICATA %}
{%- for LOGNAME in salt['pillar.get']('brologs:enabled', '') %} {%- for LOGNAME in salt['pillar.get']('brologs:enabled', '') %}
- type: log - type: log
paths: paths:
@@ -23,6 +24,7 @@ filebeat.prospectors:
close_removed: false close_removed: false
{%- endfor %} {%- endfor %}
{%- endif %}
- type: log - type: log
paths: paths:

File diff suppressed because it is too large Load Diff

View File

@@ -786,7 +786,8 @@ whiptail_bro_pins() {
whiptail_bro_version() { whiptail_bro_version() {
BROVERSION=$(whiptail --title "Security Onion Setup" --radiolist "Which version of Bro would you like to use?" 20 78 4 "COMMUNITY" "Install Community Bro" ON "ZEEK" "Install Zeek" OFF 3>&1 1>&2 2>&3) BROVERSION=$(whiptail --title "Security Onion Setup" --radiolist "What tool would you like to use to generate meta data?" 20 78 4 "COMMUNITY" "Install Community Bro" ON \
"ZEEK" "Install Zeek" OFF "SURICATA" "SUPER EXPERIMENTAL" OFF 3>&1 1>&2 2>&3)
local exitstatus=$? local exitstatus=$?
whiptail_check_exitstatus $exitstatus whiptail_check_exitstatus $exitstatus