From 39e37d0f767362bba9e559cec115731e28e22197 Mon Sep 17 00:00:00 2001 From: ReachableCEO Date: Mon, 14 Jul 2025 13:04:31 -0500 Subject: [PATCH] . --- ProjectCode/SetupNewSystem.sh | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/ProjectCode/SetupNewSystem.sh b/ProjectCode/SetupNewSystem.sh index 972aef6..09a2da7 100644 --- a/ProjectCode/SetupNewSystem.sh +++ b/ProjectCode/SetupNewSystem.sh @@ -354,7 +354,25 @@ function secharden-ssh() { function secharden-wazuh() { print_info "Now running $FUNCNAME" + cd ./Modules/Security bash ./Modules/Security/secharden-wazuh.sh + cd - + print_info "Completed running $FUNCNAME" +} + +function secharden-2fa() { + print_info "Now running $FUNCNAME" + cd ./Modules/Security + bash ./Modules/Security/secharden-2fa.sh + cd - + print_info "Completed running $FUNCNAME" +} + +function secharden-scap-stig() { + print_info "Now running $FUNCNAME" + cd ./Modules/Security + bash ./Modules/Security/secharden-scap-stig.sh + cd - print_info "Completed running $FUNCNAME" } @@ -364,11 +382,6 @@ function secharden-auto-upgrades() { print_info "Completed running $FUNCNAME" } -function secharden-2fa() { - print_info "Now running $FUNCNAME" - bash ./Modules/Security/secharden-2fa.sh - print_info "Completed running $FUNCNAME" -} function secharden-agents() { print_info "Now running $FUNCNAME" @@ -376,11 +389,6 @@ function secharden-agents() { print_info "Completed running $FUNCNAME" } -function secharden-scap-stig() { - print_info "Now running $FUNCNAME" - bash ./Modules/Security/secharden-scap-stig.sh - print_info "Completed running $FUNCNAME" -} #################################################################################################### # Authentication