mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-10 03:02:58 +01:00
Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack
This commit is contained in:
@@ -220,6 +220,14 @@ configure_minion() {
|
||||
|
||||
}
|
||||
|
||||
configure_wazuh_agent(){
|
||||
|
||||
# Configure Wazuh agent to talk to manager
|
||||
echo "Configuring Wazuh agent to talk to manager..."
|
||||
/usr/sbin/wazuh-register-agent -i $MAINIP
|
||||
|
||||
}
|
||||
|
||||
copy_master_config() {
|
||||
|
||||
# Copy the master config template to the proper directory
|
||||
@@ -1629,6 +1637,7 @@ if (whiptail_you_sure); then
|
||||
CURCLOSEDAYS=30
|
||||
whiptail_make_changes
|
||||
generate_passwords
|
||||
auth_pillar
|
||||
clear_master
|
||||
mkdir -p /nsm
|
||||
get_filesystem_root
|
||||
@@ -1664,6 +1673,7 @@ if (whiptail_you_sure); then
|
||||
salt_checkin_message
|
||||
salt_checkin
|
||||
checkin_at_boot
|
||||
#configure_wazuh_agent
|
||||
whiptail_setup_complete
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user