notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details on branch 2023Q4
wazuh-server Components for analyze the data received from the agents
4.5.4 security on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 4.5.4Version of this port present on the latest quarterly branch.
Maintainer: acm@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2023-10-23 19:18:05
Last Update: 2023-10-23 23:03:19
Commit Hash: b725c06
License: GPLv2
WWW:
https://wazuh.com/
Description:
Wazuh is a free and open source platform used for threat prevention, detection, and response. It is capable of protecting workloads across on-premises, virtualized, containerized, and cloud-based environments. Wazuh solution consists of an endpoint security agent, deployed to the monitored systems, and a management server, which collects and analyzes data gathered by the agents. Besides, Wazuh has been fully integrated with the Elastic Stack, providing a search engine and data visualization tool that allows users to navigate through their security alerts.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (16 items)
Collapse this list.
  1. /usr/local/share/licenses/wazuh-server-4.5.4/catalog.mk
  2. /usr/local/share/licenses/wazuh-server-4.5.4/LICENSE
  3. /usr/local/share/licenses/wazuh-server-4.5.4/GPLv2
  4. etc/wazuh-server/filebeat.yml
  5. etc/wazuh-server/logstash.conf
  6. etc/wazuh-server/wazuh-template.json
  7. share/beats/filebeat/module/wazuh/alerts/config/alerts.yml
  8. share/beats/filebeat/module/wazuh/alerts/ingest/pipeline.json
  9. share/beats/filebeat/module/wazuh/alerts/manifest.yml
  10. share/beats/filebeat/module/wazuh/archives/config/archives.yml
  11. share/beats/filebeat/module/wazuh/archives/ingest/pipeline.json
  12. share/beats/filebeat/module/wazuh/archives/manifest.yml
  13. share/beats/filebeat/module/wazuh/module.yml
  14. @owner
  15. @group
  16. @mode
Collapse this list.
Dependency lines:
  • wazuh-server>0:security/wazuh-server
To install the port:
cd /usr/ports/security/wazuh-server/ && make install clean
To add the package, run one of these commands:
  • pkg install security/wazuh-server
  • pkg install wazuh-server
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: wazuh-server
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1698093501 SHA256 (wazuh-4.5.4/filebeat.yml) = bbcf6fe806a32b505b0848386d71684868be85965bfb91b117dff15c9de7c247 SIZE (wazuh-4.5.4/filebeat.yml) = 1120

Expand this list (6 items)

Collapse this list.

SHA256 (wazuh-4.5.4/logstash.conf) = ca461deae2d37d435edcd64f026c03acc4cc8196a0d985b8a6f6bf93039d2ed7 SIZE (wazuh-4.5.4/logstash.conf) = 1913 SHA256 (wazuh-4.5.4/wazuh-filebeat-0.2.tar.gz) = 51af98bc607f9bd07f5a748184dfe4699527190537ac7470a97e30a2d1373b00 SIZE (wazuh-4.5.4/wazuh-filebeat-0.2.tar.gz) = 1120 SHA256 (wazuh-4.5.4/wazuh-template.json) = 81f715d6a70122d05c6f8d9b0546e19d0c961f86d3b4c3e239703bc2b71c333c SIZE (wazuh-4.5.4/wazuh-template.json) = 58391

Collapse this list.


Packages (timestamps in pop-ups are UTC):
wazuh-server
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest-4.9.2------
FreeBSD:13:quarterly4.7.54.9.2------
FreeBSD:14:latest4.9.24.9.2------
FreeBSD:14:quarterly4.7.54.9.2------
FreeBSD:15:latest4.9.24.9.2n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Runtime dependencies:
  1. filebeat : sysutils/beats7
  2. logstash : sysutils/logstash8
  3. wazuh-control : security/wazuh-manager
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for wazuh-server-4.5.4: FILEBEAT=on: Install filebeat component LOGSTASH=on: Install logstash component WAZUH-MANAGER=on: Install wazuh manager component ===> Use 'make config' to modify these settings
Options name:
security_wazuh-server
USES:
dos2unix
pkg-message:
For install:
Wazuh server components were installed 1) Wazuh server componenets are based on Wazuh manager and Filebeat projects. This guide help you to adapt wazuh configuration for it works on FreeBSD using apps are part of ports tree. We are using an alternative way to configure wazuh server components on FreeBSD. It is necessary configure logstash between filebeat and opensearch because FreeBSD does not include versions lesser or equal to 7.16.x of Filebeat into ports tree. 2) Do not forget take a look to wazuh-manager post install message to configure the wazuh-server component. # pkg info -D -x wazuh-manager | less 3) Copy /usr/local/etc/wazuh-server/filebeat.yml to /usr/local/etc/beats/ directory 4) Copy /usr/local/etc/wazuh-server/logstash.yml and /usr/local/etc/wazuh-server/wazuh-template.json files to /usr/local/etc/logstash/ directory 5) You can use my own version of wazuh certificates generator for generate root, admin, indexer, server and dashboard certificates used by wazuh components. https://people.freebsd.org/~acm/ports/wazuh/wazuh-gen-certs.tar.gz 6) Edit filebeat.yml and logstash.yml files and changes options accord to your setup. For example host, ssl, filter, etc. Sample files can give you a good guide about that. 7) Install logstash-output-opensearch plugin # cd /usr/local/logstash/bin # sh -c "JAVA_HOME=/usr/local/openjdk11 ./logstash-plugin install logstash-output-opensearch" 8) Check if logstash-output-opensearch plugin was installed # sh -c "JAVA_HOME=/usr/local/openjdk11 ./logstash-plugin list | grep logstash-output-opensearch" 9) Add Filebeat and Logstash to /etc/rc.conf # sysrc filebeat_enable="YES" # sysrc logstash_enable="YES" 10) Start Filebeat and Logstash services # service filebeat start # service logstash start 11) You can look more useful information at the following link: https://documentation.wazuh.com/current/installation-guide/wazuh-server/step-by-step.html Take on mind wazuh arquitecture on FreeBSD is configurated not similar like you can read at wazuh guide. Some times you could decided configure logstash on another host. If it is your case you must adapt some points in this guide. 12) Enjoy it
Master Sites:
  1. There is no master site for this port.

Number of commits found: 2

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
4.5.4
23 Oct 2023 23:03:19
commit hash: b725c0606dcd550581c6e03832201760293b6021commit hash: b725c0606dcd550581c6e03832201760293b6021commit hash: b725c0606dcd550581c6e03832201760293b6021commit hash: b725c0606dcd550581c6e03832201760293b6021 files touched by this commit
Jose Alonso Cardenas Marquez (acm) search for other commits by this committer
security/wazuh-*: Update to 4.5.4

ChangeLog
at:	https://documentation.wazuh.com/current/release-notes/release-4-5-4.html

(cherry picked from commit a8e4946f00997f8b410cce6e575901b2aecc62df)
4.5.3
23 Oct 2023 19:15:00
commit hash: 7e1a374c752077755cba0017e0bcb6c5beedd474commit hash: 7e1a374c752077755cba0017e0bcb6c5beedd474commit hash: 7e1a374c752077755cba0017e0bcb6c5beedd474commit hash: 7e1a374c752077755cba0017e0bcb6c5beedd474 files touched by this commit
Jose Alonso Cardenas Marquez (acm) search for other commits by this committer
security/wazuh-*: Update to 4.5.3

- security/wazuh-agent: Enable INOTIFY option by default. It enables Kevent
  based real time monitoring. See some examples like use it at:
 
https://wazuh.com/blog/detecting-common-linux-persistence-techniques-with-wazuh/
- security/wazuh-manager: Add entries to pkg-message.in about FreeBSD SCA files
  and FreeBSD decoders and rules files. I'll maintain update versions of these
  files at https://github.com/alonsobsd/wazuh-freebsd
- security/wazuh-dashboard: Update project url to new one
- Othe minor modifications

(cherry picked from commit 45aab66eae1a9ebbfae9525805454f9e9fbadc41)

Number of commits found: 2