Skip to content

ADORSYS-GIS/wazuh-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Wazuh Agent Setup

Release Client

This script automates the installation and setup of the Wazuh agent along with necessary dependencies and additional tools: Yara and Snort

Supported Operating Systems

  • Ubuntu
  • MacOS
  • Windows

Installation

Remark: This script will enroll the Wazuh agent on the dev cluster by default, you should meet a member of the wazuh team if you want to enroll it elsewhere

Linux/MacOS Installation

To run the script and install all these components, use the following command:

curl -SL --progress-bar https://raw.githubusercontent.com/ADORSYS-GIS/wazuh-agent/main/scripts/setup-agent.sh | WAZUH_AGENT_NAME=test bash

Windows Installation

For Windows, Please follow this step by step process to setup the windows wazuh agent.

1. Open powershell in administrator mode.

2. Run the command to set execution policy. Please respond with "[A] Yes to All"

# Set Execution Policy to be able to run powershell script
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned

3. Run the following commands to download dependecy script and execute it

#Download Dependency script
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/ADORSYS-GIS/wazuh-agent/refs/heads/main/scripts/deps.ps1' -OutFile 'deps.ps1'

# Run dependency script
.\deps.ps1

3. Please close your powershell terminal and re-open in administrator mode again.

4. Setup your Agent Name and Run the following commands to complete the installation.

#Set Wazuh Manager domain name.
$env:WAZUH_MANAGER = "events.dev.wazuh.adorsys.team"
$env:WAZUH_REGISTRATION_SERVER = "register.dev.wazuh.adorsys.team"

# Download Setup-agent script
Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/ADORSYS-GIS/wazuh-agent/refs/heads/main/scripts/setup-agent.ps1' -OutFile 'setup-agent.ps1'

#Run Setup-agent script
.\setup-agent.ps1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •