Skip to content

Commit

Permalink
Merge pull request #12170 from Security-Onion-Solutions/fix/nav
Browse files Browse the repository at this point in the history
Remove old nav layers
  • Loading branch information
defensivedepth authored Jan 12, 2024
2 parents 71c5e34 + 2f8ce33 commit af3aa53
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions salt/manager/tools/sbin/soup
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,9 @@ up_to_2.4.30() {
}

up_to_2.4.40() {
echo "Nothing to do for 2.4.40"
echo "Removing old ATT&CK Navigator Layers..."
rm -f /opt/so/conf/navigator/layers/enterprise-attack.json
rm -f /opt/so/conf/navigator/layers/nav_layer_playbook.json

INSTALLEDVERSION=2.4.40
}
Expand Down Expand Up @@ -985,16 +987,6 @@ main() {
salt-call state.apply salt.minion -l info queue=True
echo ""

# Only regenerate osquery packages if Fleet is enabled
FLEET_MANAGER=$(lookup_pillar fleet_manager)
FLEET_NODE=$(lookup_pillar fleet_node)
if [[ "$FLEET_MANAGER" == "True" || "$FLEET_NODE" == "True" ]]; then
echo ""
echo "Regenerating Osquery Packages.... This will take several minutes."
salt-call state.apply fleet.event_gen-packages -l info queue=True
echo ""
fi

enable_highstate

echo ""
Expand Down

0 comments on commit af3aa53

Please sign in to comment.