Merge pull request #6210 from Security-Onion-Solutions/fix/soc_pillar_soup

Add SOC pillar entry
This commit is contained in:
weslambert
2021-11-12 13:35:46 -05:00
committed by GitHub

View File

@@ -677,9 +677,12 @@ up_2.3.5X_to_2.3.80() {
}
up_2.3.80_to_2.3.90() {
for i in manager eval standalone; do
echo "soc:" >> /opt/so/saltstack/local/pillar/minions/*$i*.sls
sed -i "/^soc:/a \\ es_index_patterns: '*:so-*,*:endgame-*'" /opt/so/saltstack/local/pillar/minions/*$i*.sls
done
INSTALLEDVERSION=2.3.90
}
verify_upgradespace() {