Skip to content
This repository was archived by the owner on Jul 9, 2026. It is now read-only.
This repository was archived by the owner on Jul 9, 2026. It is now read-only.

Wazuh agent installation on Alpine Linux System #3261

Description

@Deblintrake09
Target version Related issue Related PR
4.4.0 wazuh/wazuh#4592 wazuh/wazuh#14726

Description

This change aims to allow for the correct APK package on Alpine Linux. This testing aims to verify the correct compilation and installation on Wazuh agent as well as the correct installation using the install.sh script. Also, the behavior of the agent on an Alpine OS should be checked, by looking at the basic functions.

Proposed checks

  • Compile and install Wazuh agent

    Steps to reproduce
    1. Install Dependencies
    apk --update add openssl openssl-dev libgcc make gcc g++ cmake curl automake linux-headers autoconf libtool procps python3 gettext-dev
    
    1. Download Repository
    wget https://codeload.github.com/wazuh/wazuh/zip/refs/heads/4592-wazuh-agent-package-for-alpine-linux
    
    1. Build Package
    make deps TARGET=agent EXTERNAL_SRC_ONLY=yes -j$(nproc)
    make TARGET=agent -j$(nproc) DEBUG=1
    
    1. Execute install.sh installation script
    cd 4592-wazuh-agent-package-for-alpine-linux
    ./install.sh
    
    5. Check agent works properly
    </details>
    
    
  • Check the agent works properly

    • Check SCA generates alerts in manager
    • Check FIM detects file creation green_circle
    • Check syscheck detects file creation
    • Check rootcheck generates alerts
    • Check Logcollector works correctly

Expected results

The agent's package is built and installed successfully.

Configurations

The testing should be done with the default configuration to check the default behavior of the agent.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions