[wazuh agent] Track upgrade of packaged agent to Wazuh 5.x

Open
#5,959 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
12/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
php

Research direction

This is a tracking request, not a scoped code change: the packaged FreeBSD wazuh-agent (still 4.14.x) has to reach 5.x before anything happens in the os-wazuh-agent plugin directory. Start by reading that plugin's config/enrollment/active-response templates and comparing them against the Wazuh 5.0 upgrade notes to see which settings would need to change. Done means the FreeBSD port/package is on 5.x and the plugin's model and templates have been checked against the new agent, ideally tested by the reporter.

Written by the indexing model from the issue text.

Description

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.
When moving the rest of our environment to Wazuh 5, the OPNsense agent stays on the Wazuh 4.x line. That makes it harder to keep OPNsense aligned with the manager major version once Wazuh 5 is stable.

os-wazuh-agent depends on the FreeBSD package wazuh-agent, which is still on 4.14.x. An OPNsense-side upgrade therefore likely depends on the FreeBSD port being updated first.

Describe the solution you'd like
Please track upgrading the packaged wazuh-agent used by os-wazuh-agent from Wazuh 4.x to Wazuh 5.x once upstream is stable and a suitable FreeBSD package/port is available.

Also confirm whether os-wazuh-agent needs plugin changes for Wazuh 5 compatibility (config, enrollment, active response).

This is a tracking/feature request, not a request to ship RC packages into OPNsense production plugins.

Describe alternatives you've considered

  • Wait passively until FreeBSD ports and OPNsense pick up Wazuh 5 without an explicit tracking issue
  • Run a manually built/sideloaded agent outside the official plugin (not desirable for production OPNsense installs)
  • Keep OPNsense on Wazuh 4.x agents indefinitely while the rest of the environment moves to 5.x

Additional context

  • OPNsense: 26.7
  • Wazuh 5.0 is currently still release-candidate (e.g. v5.0.0-rc2); stable remains on 4.14.x
  • Upstream documents upgrade constraints for 5.0 (agents should be on 4.14+ before moving to 5.0)
  • Happy to help test a package/plugin bump once available

Related previous ticket (closed, wrong template): https://github.com/opnsense/plugins/issues/5958

Dominant language
PHP
Stars
1.2k
Forks
926
Avg merge
1d 10h
Merged PRs (30d)
25

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from opnsense/plugins

All issues in opnsense/plugins

Similar issues

More PHP issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.