.
This commit is contained in:
@@ -345,7 +345,7 @@ function global-postPackageConfiguration() {
|
|||||||
function secharden-ssh() {
|
function secharden-ssh() {
|
||||||
print_info "Now running $FUNCNAME"
|
print_info "Now running $FUNCNAME"
|
||||||
|
|
||||||
cd ./Modules/Security
|
cd ./Modules/Security || exit
|
||||||
bash ./secharden-ssh.sh
|
bash ./secharden-ssh.sh
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
@@ -354,24 +354,32 @@ function secharden-ssh() {
|
|||||||
|
|
||||||
function secharden-wazuh() {
|
function secharden-wazuh() {
|
||||||
print_info "Now running $FUNCNAME"
|
print_info "Now running $FUNCNAME"
|
||||||
cd ./Modules/Security
|
cd ./Modules/Security || exit
|
||||||
bash ./Modules/Security/secharden-wazuh.sh
|
bash ./secharden-wazuh.sh
|
||||||
cd -
|
cd -
|
||||||
print_info "Completed running $FUNCNAME"
|
print_info "Completed running $FUNCNAME"
|
||||||
}
|
}
|
||||||
|
|
||||||
function secharden-2fa() {
|
function secharden-2fa() {
|
||||||
print_info "Now running $FUNCNAME"
|
print_info "Now running $FUNCNAME"
|
||||||
cd ./Modules/Security
|
cd ./Modules/Security || exit
|
||||||
bash ./Modules/Security/secharden-2fa.sh
|
bash ./secharden-2fa.sh
|
||||||
cd -
|
cd -
|
||||||
print_info "Completed running $FUNCNAME"
|
print_info "Completed running $FUNCNAME"
|
||||||
}
|
}
|
||||||
|
|
||||||
function secharden-scap-stig() {
|
function secharden-scap-stig() {
|
||||||
print_info "Now running $FUNCNAME"
|
print_info "Now running $FUNCNAME"
|
||||||
cd ./Modules/Security
|
cd ./Modules/Security || exit
|
||||||
bash ./Modules/Security/secharden-scap-stig.sh
|
bash ./secharden-scap-stig.sh
|
||||||
|
cd -
|
||||||
|
print_info "Completed running $FUNCNAME"
|
||||||
|
}
|
||||||
|
|
||||||
|
function secharden-agents() {
|
||||||
|
print_info "Now running $FUNCNAME"
|
||||||
|
cd ./Modules/Security || exit
|
||||||
|
bash ./secharden-audit-agents.sh
|
||||||
cd -
|
cd -
|
||||||
print_info "Completed running $FUNCNAME"
|
print_info "Completed running $FUNCNAME"
|
||||||
}
|
}
|
||||||
@@ -383,11 +391,6 @@ function secharden-auto-upgrades() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function secharden-agents() {
|
|
||||||
print_info "Now running $FUNCNAME"
|
|
||||||
#curl --silent ${DL_ROOT}/Modules/Security/secharden-audit-agents.sh|$(which bash)
|
|
||||||
print_info "Completed running $FUNCNAME"
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
####################################################################################################
|
####################################################################################################
|
||||||
|
Reference in New Issue
Block a user