From a01d49981c5d39fa9bb7334767000f2d889ecb48 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Thu, 23 Sep 2021 12:45:44 -0400 Subject: [PATCH] Redirect thehive/cortex migrate curl output to soup log --- salt/common/tools/sbin/soup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/common/tools/sbin/soup b/salt/common/tools/sbin/soup index 828f5c741..6cdeda97f 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -704,8 +704,8 @@ thehive_maint() { done if [ "$THEHIVE_CONNECTED" == "yes" ]; then echo "Migrating thehive databases if needed." - curl -v -k -XPOST -L "https://localhost/thehive/api/maintenance/migrate" - curl -v -k -XPOST -L "https://localhost/cortex/api/maintenance/migrate" + curl -v -k -XPOST -L "https://localhost/thehive/api/maintenance/migrate" &> "$SOUP_LOG" + curl -v -k -XPOST -L "https://localhost/cortex/api/maintenance/migrate" &> "$SOUP_LOG" fi }