Wazuh agent toegevoegd

This commit is contained in:
2023-08-23 09:43:20 +02:00
parent d48c2f35a4
commit 7e0582df6c

View File

@@ -123,3 +123,12 @@ cat >> /etc/osquery/osquery.conf << "EOF"
EOF
systemctl enable osqueryd
systemctl start osqueryd
# Wazuh agent
curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | gpg --no-default-keyring --keyring gnupg-ring:/usr/share/keyrings/wazuh.gpg --import && chmod 644 /usr/share/keyrings/wazuh.gpg
echo "deb [signed-by=/usr/share/keyrings/wazuh.gpg] https://packages.wazuh.com/4.x/apt/ stable main" | tee -a /etc/apt/sources.list.d/wazuh.list
apt update
WAZUH_MANAGER="siem01.de-roo.org" apt install wazuh-agent
systemctl daemon-reload
systemctl enable wazuh-agent
systemctl start wazuh-agent