Wazuh agent toegevoegd
This commit is contained in:
@@ -123,3 +123,12 @@ cat >> /etc/osquery/osquery.conf << "EOF"
|
|||||||
EOF
|
EOF
|
||||||
systemctl enable osqueryd
|
systemctl enable osqueryd
|
||||||
systemctl start 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
|
||||||
|
|||||||
Reference in New Issue
Block a user