Deploying the Wazuh agent on macOS across a managed fleet
The Wazuh agent on macOS is the software that runs on each Mac you control, collects endpoint data and reports it to the Wazuh server for analysis. An IT or security lead needs a planned rollout when Macs hold data or access that the security program must monitor, because an unplanned install leaves gaps in coverage, inconsistent enrollment and agents that no one checks after the first day. Wazuh agents run on macOS alongside Linux, Windows, Solaris, AIX and HP-UX, so a Mac rollout should follow the same enrollment, grouping and ownership model as the rest of the fleet rather than becoming a side project. The agent is one of four Wazuh components, with the Wazuh indexer storing alerts, the Wazuh server analyzing agent data with decoders and rules, and the Wazuh dashboard providing the web interface.
Before any package reaches a Mac, decide who owns the agent lifecycle: who approves the installer version, who sets the manager address and enrollment values, how agents are assigned to groups by role, and who removes agents when a device leaves the fleet. Confirm the agent version you plan to deploy against the Wazuh release notes, since the current 4.14 patch line changes often, and confirm that your Wazuh server version is compatible with that agent before you pilot. Most of the day-to-day work is in the configuration that follows installation, so a rollout plan should name the pilot group, the rollback steps and the check that proves each Mac reports to the correct manager.
Plan the pilot on a small set of Macs that match your real hardware, macOS versions and management tooling, and record what each one reports after enrollment. Ask your Wazuh partner or internal team to confirm which macOS versions the chosen agent release supports, and to verify each documented capability against your environment rather than assuming it works the same way on every device. The Wazuh documentation describes the deployment options that fit your central infrastructure, and the choices you make for the Mac agent should match that architecture from the start.
What the macOS agent collects and what it depends on
A Wazuh agent on a Mac does little on its own. It gathers endpoint data and sends it to the Wazuh server, which analyzes it, stores alerts in the indexer and displays results in the dashboard. Each piece below affects what you see on a Mac, so confirm each one before you roll out a fleet.
Endpoint logs from the agent
The agent forwards log data from the Mac to the Wazuh server for decoding and rule matching. Which log sources are active depends on the agent configuration you deploy, so list the macOS log sources your security team needs before rollout. Confirm in your test group that the events you expect reach the dashboard, because a missing log source is easy to miss when the agent reports as connected.
Wazuh componentsFile integrity monitoring on macOS
File integrity monitoring compares watched files against a recorded baseline and reports changes. On macOS, the paths worth watching differ from Linux, and system locations such as application bundles and user library folders need their own review. Agree the watched paths with your security team and test a change in each location before you rely on the alerts.
Software inventory for vulnerability detection
The agent collects a software inventory from each Mac, and the server uses it for vulnerability detection. Vulnerability detection correlates that inventory with vulnerability data from the Wazuh Cyber Threat Intelligence platform or from an offline repository. If your Macs cannot reach the internet, plan the offline repository before deployment, and confirm that application names in the inventory match the vendor data you use.
Vulnerability detection docsWazuh server and cluster
The Wazuh server receives agent data, applies decoders and rules, and manages agent configuration and upgrades remotely. It can run as a cluster for horizontal scaling. Check that your Macs can reach the manager address and enrollment port from every network segment they use, including remote and laptop locations, because enrollment and configuration delivery both depend on that path.
Indexer and dashboard
The Wazuh indexer stores alerts and serves search and analytics, and the Wazuh dashboard is the web interface where analysts review them. Mac alerts are only as useful as the indexer capacity and dashboard views behind them. Ask your team to confirm storage sizing for the expected Mac event volume and to build a dashboard view that filters by operating system.
Choosing a package installation approach for Mac fleets
If your Macs are enrolled in a mobile device management platform, distributing the Wazuh package through that platform is usually the most controlled route. The administrator uploads the package once, scopes it to device groups and records which machines received it. Deployment variables for the manager address, enrollment credentials and group assignment are typically passed through the policy or script the platform runs on each device, so the values stay out of user hands. Confirm with your MDM vendor how it supplies environment values to installer packages and how it reports install failures back to the console.
- Scope by device group: Target production, lab and test Macs with separate groups so each receives the right manager and agent group.
- Keep secrets server-side: Store the enrollment password in the platform's secret storage rather than in a script that is readable by every administrator.
- Check reporting: Confirm the platform shows install success or failure per device, since a silent failure is hard to spot later.
- Plan for updates: Decide whether upgrades are pushed through the same channel or handled separately.
- Confirm the variable names: Check the exact deployment variable names in the current Wazuh macOS installation documentation before writing any policy.
Before rollout, test the policy on a small device group and confirm each test Mac appears in the Wazuh dashboard under the expected group.
Organizations without a device management platform, or with Macs managed through configuration management or remote execution tools, often run a repeatable script from a central host. The script downloads or stages the package, sets the deployment variables for the manager address, enrollment and group, runs the installer and verifies that the agent service started. This route suits repeatable builds and rebuilds, but the script itself becomes a controlled artifact that needs version control and review.
- Parameterize the script: Pass the manager address, group and enrollment values as inputs so one script serves several fleets.
- Verify the result: Have the script check the agent status after install instead of reporting success when the installer exits.
- Handle permissions: Confirm which account the tool runs as and how it obtains administrator rights on each Mac.
- Protect the enrollment password: Pull it from a secrets store at run time and avoid writing it to logs.
- Make it idempotent: Design the script so a rerun on an already installed Mac does not break the agent.
Test the script on one Mac of each model and macOS version in your fleet before running it broadly, and keep the run output for audit.
For a handful of machines, lab systems or a proof of concept, a manual install from the package is reasonable. An administrator installs the package, sets the deployment variables for the manager address, enrollment and group in the session, and confirms enrollment in the dashboard. The main risk is inconsistency: each manual install can drift in version, group or configuration, and nobody remembers which machines were touched. Manual installs also do not scale well, so plan a move to one of the other routes before the fleet grows.
- Record every install: Keep a simple inventory of hostname, macOS version, Wazuh version and group for each machine.
- Avoid secrets in shell history: Clear or avoid recording commands that contain the enrollment password.
- Match versions: Install the same agent version across the group so behavior matches.
- Set a migration trigger: Decide in advance the fleet size or event that moves these machines to a managed route.
- Check the agent after reboot: Confirm the agent starts on its own after a restart, since lab machines are often rebooted.
Confirm your manual steps against the current Wazuh macOS installation documentation, and remove any lab machine from the manager when it is retired.
Some Mac fleets sit on networks that cannot reach the internet or the package repositories directly. In that case the install route must include staging the package and any dependencies inside the restricted network. The Wazuh offline installation guide covers systems without internet connectivity, and it is the document to check before planning these steps. Whichever route you choose, the package source and the manager connection both need to work from inside the restricted segment, and the agent must still reach the manager on the ports it requires.
- Stage the package internally: Host the approved package on an internal distribution point that the MDM, script or manual route can reach.
- Confirm manager reachability: Verify that the Macs can open the connections the agent needs to the manager from their network segment.
- Plan dependency handling: Identify everything the install needs and stage it in advance, since the Macs cannot download it later.
- Document the source: Record where each package came from and its checksum for later verification.
- Review the offline guide: Read the offline installation guide for any steps specific to this route before you commit to a design.
Ask your Wazuh contact or read the offline guide to confirm which steps apply to macOS agents in your environment.
Deployment variables and enrollment options compared
This table compares the four settings a team usually fixes at install time for a macOS Wazuh agent: manager address, enrollment method, agent group and agent name. Read each row for when the option fits, what goes wrong if the installer falls back to its defaults, and what to confirm in the 4.14 documentation before rolling out to a Mac fleet.
| Option | When it fits | What breaks if left to default | Confirm for release 4.14 |
|---|---|---|---|
| Manager address | Every fleet, set explicitly so each Mac reports to the intended Wazuh server or cluster entry point | Agents may not reach the server, or may point at a host that is not part of the production deployment | The variable name for the manager address and whether it accepts a hostname, IP address or load balancer endpoint |
| Enrollment password or key method | Fleets where enrollment is restricted by a shared secret or where the team uses a managed enrollment process | Unauthenticated enrollment may be possible if no password is configured on the server, weakening control over which hosts join | Whether the enrollment password is required on the manager, where it is stored on the Mac and how it is rotated |
| Agent group | Fleets where Macs need different configuration than Linux or Windows hosts, such as a dedicated macOS group for unified logging settings | Macs land in the default group and receive the wrong agent configuration, so expected log collection may be missing | The group variable name, whether the group must exist on the manager before enrollment, and how multiple groups are handled |
| Agent name | Fleets where hostnames are reused, laptops are renamed, or asset records need a predictable identifier | The Mac registers under its current hostname, which can change or duplicate an existing record after a rebuild | Whether the name variable is supported in the macOS package, and how the manager handles a name that is already registered |
| Installation scope | Managed Macs deployed by a device management tool that runs the package as root with the variables set | Variables set in one shell session may not reach the installer run by a management tool, so the agent installs unconfigured | How your device management tool passes environment variables to the package installation step on macOS |
How macOS unified logging collection changes the design
The first design decision is that macOS does not write most system activity to the flat text log files that a Linux team would expect to tail. Much of what matters for security monitoring lives in the unified logging system, which stores events in a binary, structured store and exposes them through the log command. Before you plan collection, confirm with the Wazuh documentation for your release how the agent reads unified logging, which log scopes it supports, and how predicates (filters that select events by process, subsystem, category or message content) are expressed in the agent configuration. Do not assume that a Linux-style localfile entry will capture the same events. Write down the exact sources your detections depend on, then check whether each one is reachable through the mechanism the documentation describes.
Collection scope is a trade-off between coverage and volume. A broad predicate captures more of the activity that incident responders later ask about, but it also increases the number of events sent to the manager, the indexer storage they occupy and the alert noise that analysts must triage. A narrow predicate keeps the pipeline quiet but can leave gaps in authentication, privilege use or persistence events. Decide which categories are required for your use cases, then set the filter to match those categories and no more. Ask your Wazuh contact or review the release documentation for any guidance on expected event rates per endpoint, because those rates depend heavily on your workloads.
Test before you enable unified logging fleet-wide. Pick a small set of Macs that represent your real mix of developer laptops, managed workstations and any servers, and run them through normal work for a defined period. Measure event volume on the manager and indexer, check that the events you need appear with the fields your rules expect, and confirm that known test actions (a failed sudo attempt, a new login item, an unsigned binary launch) generate alerts. Adjust the predicate, then repeat the test on the same group before the change reaches the rest of the fleet. Record the results so the approved configuration can be reviewed later.
File paths that differ from Linux on macOS
macOS puts applications, user settings and system logs in locations that have no direct equivalent on Linux. Each difference changes what file integrity monitoring and log collection actually watch, so the path list belongs in your design review, not in a default configuration copied from a Linux host.
Application bundles
Mac applications install as bundles, which are directories that look like single files in Finder but contain executables, frameworks and property lists underneath. A file integrity monitoring rule written for a flat binary path on Linux may not cover the component you care about, and an app update replaces the bundle contents. Ask which bundle paths your critical software uses, and confirm in the current Wazuh documentation how directories and nested files are monitored before you rely on the rule.
Per-user Library locations
Much of what matters on a Mac lives under each user's home Library folder, including preferences, launch agents and application support data. Those locations exist once per account, so a fleet with shared machines or several accounts per device needs a plan for which home directories are covered. Test with a standard user account on a test Mac and confirm the paths your policy requires against the current documentation.
System-wide configuration directories
Settings that apply to the whole machine sit in system-level locations, and some are protected by System Integrity Protection, which limits what can be written even by administrators. Those protections affect both what the agent can read and what an attacker can modify, so they shape the monitoring expectations you set. Verify which system directories the agent can read on your macOS version, and document any directory the agent cannot access.
System log locations and unified logging
Modern macOS records most system activity in the unified logging system rather than in the plain text files many Linux admins expect under the system log directory. Collecting only classic log files can leave significant activity out of Wazuh. Confirm in the current documentation which log sources the agent reads on your macOS release, and check with log show on a test Mac that the events you need actually reach the manager.
Case sensitivity and path normalization
macOS typically uses a case-insensitive file system by default, while many Linux paths are case-sensitive, and volumes can be formatted differently. A rule that matches one capitalization may miss a file created with another, and a monitored path may resolve through a symbolic link into a different location. Test rule matches with varied capitalization on the volume type your fleet uses, and confirm how the agent handles symbolic links before you finalize monitored paths.
Validating each path before rollout
Because path behavior depends on the macOS version, the agent version and the file system, every path in your configuration should be checked rather than assumed. Build a short checklist per path: the documented location, a test file change on a test Mac, the alert that reaches the dashboard, and the owner who approved the entry. Repeat the check after each macOS major upgrade, since system locations can change between releases.
Setting up a macOS agent rollout in sequence
This sequence moves a Mac fleet from a confirmed manager to enrolled, verified agents in controlled waves, so each stage has a check before the next one starts. The result is a repeatable rollout that a pilot group has proven and the wider fleet can follow.
Confirm manager version and reachability
Before any package is staged, the platform team confirms which Wazuh server version the fleet will target, using the release line your organization has approved, and checks that Macs in the pilot network can reach the manager's enrollment and agent communication ports. Confirm the exact release notes for your version in the Wazuh documentation, since patch releases arrive every one to two months. Done means a test Mac on the pilot network can open a connection to the manager from the same network segment the fleet uses, and the team has written down the version and address it will hand to the installer.
Build a pilot group in the dashboard
Create a dedicated agent group on the manager for the pilot Macs, chosen to cover a few hardware models, macOS versions and user roles that represent the fleet. Keep the pilot small enough that a problem affects few users. Done means the group exists in the dashboard, its name is fixed in the rollout plan, and the team has listed each pilot device with its owner and model so results can be traced back to specific machines.
Install the package with deployment variables
The packaging or endpoint management team installs the macOS agent package on the pilot Macs and passes the manager address, the enrollment password where your design requires one, and the target group name through the deployment variables documented for the package. Record the exact command or profile used so it can be reused for the wider fleet. Done means the agent service is running on each pilot Mac and the installation log shows no errors for the variables that were set.
Confirm enrollment in the dashboard
Check the agent list in the Wazuh dashboard and confirm that every pilot Mac appears with the expected name, operating system and group membership, and reports an active status. If a device is missing, check its local agent log and the manager's enrollment records before trying again, so duplicate entries do not accumulate. Done means each pilot device shows as active in the intended group, with no duplicate or stale entries for the same host.
Verify unified logging and file paths
Confirm that the agent collects the macOS unified logging events and file integrity paths your configuration expects. MacOS paths and log sources differ from Linux, so compare the paths in the shared configuration with the locations on a pilot Mac, and generate a known event such as a controlled file change in a monitored directory. Confirm the alert appears in the dashboard with the correct agent and location. Done means at least one test event from each enabled source reaches the dashboard, and the team has noted any path that did not match the fleet design.
Expand the rollout by group
Once the pilot has run cleanly, the team widens the rollout in waves, one group at a time, using the same install command and group assignment. Between waves, the team checks the enrollment count and the unified logging test again on a sample of devices, and pauses if errors appear. Done means each wave ends with the dashboard showing the expected agents as active in their groups, and the team has a record of any devices that failed and why.
Troubleshooting enrollment failures on Macs
An agent that installs cleanly but never shows as active in the manager almost always fails at one of a few points, and the fastest way to find it is to check them in order. Start with the network path. The Mac must reach the manager's enrollment port (1515 in default deployments, but confirm the port your server is configured to use) and the event port used for agent-to-manager communication. Test this from the Mac itself, not from your admin workstation, because corporate VPN profiles, endpoint firewalls and proxy settings often differ between the two. On the Mac, check the agent's own log first. Enrollment errors and connection attempts are written there, and they tell you whether the agent reached the manager at all or was refused.
Most remaining causes show up in that same log or in the server logs. A wrong or missing enrollment password produces a rejected registration, so confirm the password the package was installed with matches the one configured on the manager, and that the deployment variable was not dropped by your management tool during packaging. A group name typo is quieter: the agent enrolls, but into a group that does not exist or does not match your configuration, so it receives the wrong settings or none. Compare the group name in the install command with the groups defined on the server. Time skew between the Mac and the manager can break the TLS handshake or cause confusing timestamps, so verify the clock sync service is running on every Mac. Stale keys are a common result of rebuilding a Mac or restoring an image: the manager still holds a key for that host name, and the new agent is refused. Remove the old entry from the agent list before re-enrolling, using the process in the removal section of this guide.
Privacy and permission prompts are the cause most often missed on macOS. If the agent is installed but blocked from file access, full disk access or system extension approval, it can enroll and report while collecting little data, and the dashboard looks partially working. Check whether your MDM profile pre-approves the required permissions and confirm the approach against the current Wazuh documentation for macOS, since the exact prompts and configuration keys depend on the agent version you deploy. Once the agent appears in the agent list as active, verify that expected log sources and inventory data are arriving, not just the heartbeat. The Wazuh documentation describes the agent's role within the platform and is a useful reference when mapping these symptoms to components.
How a Mac agent reaches the Wazuh server
The path starts on a Mac endpoint, where the Wazuh agent collects logs, file integrity data and software inventory. The agent sends events over the network to the Wazuh server, which decodes and analyzes them with rules. Enrollment happens on the same path before any data flows, so the agent must be registered and authenticated with the server first. The server stores alerts in the Wazuh indexer, and analysts review them in the Wazuh dashboard. Check each hand-off separately: enrollment, agent connection, and whether alerts appear in the dashboard.
Data and enrollment flow from a Mac agent through the Wazuh components inside the organization's network.
Security and operational considerations for Mac agents
A Mac agent is only as trustworthy as the way it is installed, configured and tracked after it joins the manager. The cards below cover the controls that connect the install script to the long-term health of the fleet.
Handle the enrollment secret carefully
Enrollment passwords passed through deployment variables can end up in shell history, MDM script logs or copied scripts. Decide where the secret lives, who can read it and how it is rotated after a fleet rollout. Check that install scripts do not echo the value and that the management tool redacts it in its logs. Ask whether enrollment can be restricted to a dedicated group so a leaked secret cannot reassign agents to a sensitive group.
Install with least privilege
Installation on macOS requires administrative rights, so run the package under your management tool's trusted context rather than giving standing admin access to users or scripts. Confirm that the agent service runs with the privileges Wazuh documents for it and no more. Record which accounts can run the install, change the deployment variables and uninstall the agent, and review that list whenever administrators change roles.
Protect agent configuration
The local agent configuration and the group files pushed from the manager determine what the agent collects. Restrict write access to the configuration directory on each Mac, and manage changes to the centralized configuration through the manager rather than by editing files on endpoints. Verify that a user without administrative rights cannot stop the service or alter collection settings, and test this on a sample of managed Macs before wider rollout.
Patch agents to the server release line
Agents should run a version compatible with the Wazuh server they report to. The current release line is 4.14, and patch releases have arrived roughly every one to two months, including 4.14.9 on 14 October 2026. Plan agent updates as a scheduled change after the server is patched, keep a test group of Macs on the new version first, and confirm the upgrade order in the Wazuh upgrade documentation before pushing it fleet-wide.
Wazuh release notesKeep the fleet inventory accurate
Macs are often reimaged, reassigned or retired without anyone updating the manager. Duplicate entries, stale agents and reused hostnames make alerts harder to trust and can hide a host that has gone silent. Compare the agent list with your device management inventory on a fixed schedule, remove decommissioned agents, and make sure rebuilt Macs enroll as new entries instead of reusing another agent's identity.
Questions buyers ask before deploying Mac agents
What drives the cost and effort of a Mac agent rollout?
The main drivers are fleet size, how many macOS versions and hardware types are in use, how much of the fleet is managed by MDM today, and how many groups and custom configurations you need. Costs fall into two parts: one-time work to design the package deployment, group layout, unified logging collection and test plan, and recurring work to upgrade agents and maintain configuration. The self-hosted Wazuh software carries no license fee, so the spend goes to people and infrastructure. Ask any partner for a quote that lists each phase, the number of test Macs, who runs the pilot, and what is handed over at the end.
How long does a Mac agent rollout take?
Duration depends on fleet size, how consistently your Macs are managed through MDM, and how many approval steps your change process requires. A fleet with a working MDM that can push packages and scripts usually moves faster than one where installs are manual. Plan time for a pilot on a small set of machines covering each macOS version you run, then a staged rollout by group. No general figure applies to every organization, so ask for a timeline tied to your fleet count and your change windows before committing.
What does the work need from our own team?
Your team needs to supply access to the MDM console, a test group of Macs, the Wazuh manager address and enrollment credentials that the agent will use, and a named owner for group membership decisions. Security staff should confirm which unified logging events they want collected and how alerts will be routed. Your endpoint administrators need to approve the package and the deployment variables before they go into production. Agree on who signs off each phase so that approvals do not hold up the rollout.
Can our team deploy the Mac agent without a partner?
Yes, a team with MDM experience and someone who understands Wazuh agent groups can usually deploy the agent in-house. The steps are a package install with deployment variables, an agent configuration pushed by group, and checks that the agent enrolls and reports. The harder parts are the macOS-specific log sources, file paths that differ from Linux, and troubleshooting enrollment across machines with different permissions. Assess whether your team has the time and the Mac-specific experience to cover those items, then compare that with the cost of a fixed-scope engagement.
Does the Wazuh agent require a license fee for Mac fleets?
The self-hosted Wazuh software is open source and carries no license fee. It is distributed under the GNU General Public License version 2, with an exception that permits linking with the OpenSSL library. Your costs are the infrastructure that runs the Wazuh server and indexer, the staff time to operate them, and any partner services you buy. Wazuh Cloud is a separate, managed service with its own plans, so confirm with the vendor which option you are pricing. Have your legal team review the license text before distribution across your fleet.
What does a fixed-scope Mac engagement cover?
A fixed-scope engagement covers the deliverables and timeline agreed in writing before work begins. For Mac agents, that typically includes reviewing your MDM setup, designing the package deployment with variables for the manager, enrollment password and group, building the agent configuration for unified logging, piloting on representative machines, and documenting the troubleshooting steps. The scope should state how many macOS versions and fleet segments are covered, what is handed over, and what is out of scope. Ask for the written scope to list exclusions such as SIEM rule tuning or wider platform changes.
What breaks most often when Mac agents fail to enroll?
Enrollment failures on macOS usually trace to a few causes: the manager address or port is unreachable from the Mac's network segment, the enrollment password is wrong or missing from the deployment variables, the agent was installed before MDM finished applying its profile, or a duplicate agent name conflicts with an existing record. Check the agent log on the endpoint and the manager's agent list before changing configuration. Confirm the exact log paths and service names for your macOS version in the Wazuh documentation, since they differ from Linux.
How DeployOpen scopes and delivers Mac agent rollouts
DeployOpen plans and delivers Wazuh agent rollouts on macOS inside your own infrastructure, starting from a written scope that names your Mac fleet, enrollment method and log collection needs. Work moves through build, testing, documentation and handover, so your team can run the agent after the engagement ends.
How we scope
- We inventory your Mac models, macOS versions, management tooling and the Wazuh server you already run or plan to run.
- We agree which unified logging filters, file paths and groups are in the written scope before any work starts.
- Engagements are fixed-scope, with deliverables and timelines agreed in writing, and ongoing support available as a retainer.
How we build
- We build the package deployment with deployment variables for manager address, enrollment and group assignment, tested on representative Macs.
- We configure macOS unified logging collection and file paths that differ from Linux, then check alerts reach the Wazuh dashboard.
- We test enrollment failure paths, including blocked ports and misconfigured variables, and record the fixes in the build.
How we hand over
- You receive the installer procedure, variable reference, group design and the scripts used to roll out the agent.
- We document the troubleshooting steps for enrollment and agent connection, written for your own administrators.
- We walk your team through the handover so they can repeat the rollout for new Macs without us.
How we support
- We plan upgrades to new agent releases with your team, since the Wazuh release line changes through regular patch releases.
- Ongoing support, upgrades and continuous testing are available as retainers once the rollout is live.
- Support covers changes to macOS versions, new Mac models and updates to the agent configuration as your fleet changes.

