Upgrade Fun

This commit is contained in:
Mike Reeves
2020-09-14 14:50:22 -04:00
parent 38266f7db8
commit 0a0e00866c
8 changed files with 12 additions and 9 deletions

View File

@@ -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
}