mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-05-02 09:28:31 +02:00
Upgrade Fun
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
{% endif %}
|
||||
|
||||
{% if role in ['heavynode', 'standalone'] %}
|
||||
{{ append_containers('global', 'zeekversion', 'SURICATA') }}
|
||||
{{ append_containers('global', 'mdengine', 'SURICATA') }}
|
||||
{% endif %}
|
||||
|
||||
{% if role == 'searchnode' %}
|
||||
@@ -44,5 +44,5 @@
|
||||
{% endif %}
|
||||
|
||||
{% if role == 'sensor' %}
|
||||
{{ append_containers('global', 'zeekversion', 'SURICATA') }}
|
||||
{{ append_containers('global', 'mdengine', 'SURICATA') }}
|
||||
{% endif %}
|
||||
@@ -178,7 +178,10 @@ rc2_to_rc3() {
|
||||
rm -rf /opt/so/saltstack/local/salt/idstools/localrules
|
||||
rm -rf /opt/so/saltstack/default/salt/idstools/localrules
|
||||
|
||||
# Rename ZEEKVERSION to MDENGINE
|
||||
# Rename mdengine to MDENGINE
|
||||
sed -i "s/ mdengine/ mdengine/g" /opt/so/saltstack/local/pillar/global.sls
|
||||
# Enable Strelka Rules
|
||||
sed -i "/ rules:/c\ rules: 1" /opt/so/saltstack/local/pillar/global.sls
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user