Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Service and Packaging for New Wazuh Agent #126

Open
2 of 5 tasks
vikman90 opened this issue Sep 11, 2024 · 0 comments
Open
2 of 5 tasks

Implement Service and Packaging for New Wazuh Agent #126

vikman90 opened this issue Sep 11, 2024 · 0 comments
Assignees
Labels
level/epic Epic issue module/agent module/packages Agent packages type/enhancement Enhancement issue

Comments

@vikman90
Copy link
Member

vikman90 commented Sep 11, 2024

Parent Issue:

Description

As part of the ongoing development of the new Wazuh agent, we need to ensure that the agent can be installed on the host system and run as a background service, utilizing the system's built-in tools (packaging managers, Systemd, etc.). This issue aims to implement the following key components:

  1. Ensure the agent can run as a background service (daemon).
  2. Develop system services for the agent to run on Linux, Windows, and macOS.
  3. Implement standard package management (RPM, DEB, PKG, MSI) for agent installation.

Functional Requirements

  • The agent should run as a background process (daemon) across supported systems.
  • The system must offer the capability to start, stop, and restart the agent manually. The default behavior (enabled/disabled) depends on the standard defined by the underlying platform.
  • The agent should be installable via appropriate package management systems:
    • Linux:
      • RPM for RHEL-based distributions.
      • DEB for Debian-based distributions.
    • Windows: MSI installer.
    • macOS: PKG installer.

Non-Functional Requirements

  • The installation packages should follow the conventions and standards of the target operating systems.
  • The installation process should be as seamless as possible, reducing manual configuration steps.
  • Clear logging of agent activities must be available to facilitate troubleshooting.

Implementation Restrictions

  • The service for Linux must use systemd as the service manager since it is widely supported across the listed distributions.
  • Packaging must integrate with native package managers (e.g., rpm, apt, install, msiexec) and conform to the relevant package guidelines for each platform.

Plan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level/epic Epic issue module/agent module/packages Agent packages type/enhancement Enhancement issue
Projects
Status: In progress
Development

No branches or pull requests

5 participants