mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Rule Updates
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
{%- from 'vars/globals.map.jinja' import GLOBALS -%}
|
{%- from 'vars/globals.map.jinja' import GLOBALS -%}
|
||||||
{%- from 'idstools/map.jinja' import IDSTOOLSMERGED -%}
|
{%- from 'idstools/map.jinja' import IDSTOOLSMERGED -%}
|
||||||
--merged=/nsm/rules/suricata/all.rules
|
--merged=/opt/so/rules/nids/all.rules
|
||||||
--local=/nsm/rules/local/local.rules
|
--local=/opt/so/rules/nids/local.rules
|
||||||
{%- if GLOBALS.md_engine == "SURICATA" %}
|
{%- if GLOBALS.md_engine == "SURICATA" %}
|
||||||
--local=/nsm/rules/sorules/ids/extraction.rules
|
--local=/opt/so/rules/nids/sorules/extraction.rules
|
||||||
--local=/nsm/rules/sorules/filters.rules
|
--local=/opt/so/rules/nids/sorules/filters.rules
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
--url=http://{{ GLOBALS.manager }}:7788/suricata/emerging-all.rules
|
--url=http://{{ GLOBALS.manager }}:7788/suricata/emerging-all.rules
|
||||||
--disable=/opt/so/idstools/etc/disable.conf
|
--disable=/opt/so/idstools/etc/disable.conf
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
. /usr/sbin/so-common
|
. /usr/sbin/so-common
|
||||||
|
|
||||||
{%- from 'vars/globals.map.jinja' import GLOBALS %}
|
{%- from 'vars/globals.map.jinja' import GLOBALS %}
|
||||||
|
|||||||
@@ -12,6 +12,15 @@ include:
|
|||||||
- nginx.config
|
- nginx.config
|
||||||
- nginx.sostatus
|
- nginx.sostatus
|
||||||
|
|
||||||
|
make-rule-dir-nginx:
|
||||||
|
file.directory:
|
||||||
|
- name: /nsm/rules
|
||||||
|
- user: socore
|
||||||
|
- group: socore
|
||||||
|
- recurse:
|
||||||
|
- user
|
||||||
|
- group
|
||||||
|
|
||||||
so-nginx:
|
so-nginx:
|
||||||
docker_container.running:
|
docker_container.running:
|
||||||
- image: {{ GLOBALS.registry_host }}:5000/{{ GLOBALS.image_repo }}/so-nginx:{{ GLOBALS.so_version }}
|
- image: {{ GLOBALS.registry_host }}:5000/{{ GLOBALS.image_repo }}/so-nginx:{{ GLOBALS.so_version }}
|
||||||
|
|||||||
@@ -648,7 +648,7 @@ if ! [[ -f $install_opt_file ]]; then
|
|||||||
title "Downloading IDS Rules"
|
title "Downloading IDS Rules"
|
||||||
logCmd "so-rule-update"
|
logCmd "so-rule-update"
|
||||||
title "Downloading YARA rules"
|
title "Downloading YARA rules"
|
||||||
logCmd "so-yara-update"
|
logCmd "runuser -l socore 'so-yara-update'"
|
||||||
fi
|
fi
|
||||||
title "Setting up Kibana Default Space"
|
title "Setting up Kibana Default Space"
|
||||||
logCmd "so-kibana-space-defaults"
|
logCmd "so-kibana-space-defaults"
|
||||||
|
|||||||
Reference in New Issue
Block a user