Skip to content

Commit

Permalink
Merge pull request #13017 from Security-Onion-Solutions/surimigrate
Browse files Browse the repository at this point in the history
Update enabled.sls
  • Loading branch information
TOoSmOotH authored May 15, 2024
2 parents 7cbc3a8 + e3a0847 commit a0af25c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions salt/manager/tools/sbin/soup
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,10 @@ suricata_idstools_migration() {
else
fail "Error: rsync failed to copy the files. Thresholds have not been backed up."
fi

#Tell SOC to migrate
mkdir -p /opt/so/conf/soc/migrations
echo "0" > /opt/so/conf/soc/migrations/suricata-migration-2.4.70
}

playbook_migration() {
Expand Down
1 change: 1 addition & 0 deletions salt/soc/enabled.sls
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ so-soc:
- /opt/so/conf/soc/soc_users_roles:/opt/sensoroni/rbac/users_roles:rw
- /opt/so/conf/soc/queue:/opt/sensoroni/queue:rw
- /opt/so/saltstack:/opt/so/saltstack:rw
- /opt/so/conf/soc/migrations:/opt/so/conf/soc/migrations:rw
- extra_hosts:
{% for node in DOCKER_EXTRA_HOSTS %}
{% for hostname, ip in node.items() %}
Expand Down

0 comments on commit a0af25c

Please sign in to comment.