Last active
September 29, 2021 12:09
-
-
Save michelep/19080a758c13a8df6b08f3dcaf0f2609 to your computer and use it in GitHub Desktop.
Add agents for Wazuh su Debian
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Su HOST: | |
apt-get install curl apt-transport-https lsb-release gnupg2 | |
curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | apt-key add - | |
echo "deb https://packages.wazuh.com/4.x/apt/ stable main" | tee /etc/apt/sources.list.d/wazuh.list | |
apt-get update | |
WAZUH_MANAGER="[IP SIEM]" apt-get install wazuh-agent | |
Su SIEM: | |
/var/ossec/bin/manage_agents -a [IP] -n [NOME] | |
/var/ossec/bin/manage_agents -l | |
/var/ossec/bin/manage_agents -e [NUMERO ID] -> restituisce [KEY] | |
Su HOST: | |
/var/ossec/bin/manage_agents -i [KEY] | |
/etc/init.d/wazuh-agent start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment