mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Setup - Configure Wazuh agent
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
|
||||
@@ -1660,6 +1668,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