[wip] Initial work to enable/disable "learn" modules

This commit is contained in:
William Wernert
2021-07-26 14:24:10 -04:00
parent 2f118781ea
commit 64945cec16
7 changed files with 260 additions and 16 deletions

View File

@@ -962,6 +962,12 @@ else
set_progress_str 99 'Waiting for TheHive to start up'
check_hive_init >> $setup_log 2>&1
fi
if [[ -n $LEARN_LOGSCAN_ENABLE ]]; then
set_progress_str 99 'Enabling logscan'
so-learn enable logscan --apply -y >> $setup_log 2>&1
fi
} | whiptail_gauge_post_setup "Running post-installation steps..."
whiptail_setup_complete