Mac Agent Mass Deployment using VMware AirWatch
This topic describe how to deploy Mac Agents using VMware AirWatch.
VMware AirWatch deployment is supported for macOS Catalina and macOS Mojave. macOS Big Sur is not currently supported.
Prerequisites for Mass Deployment
-
You need the
observeit-agent-OSX-<version>.dmg
located in the ObserveIT Mac Agent installation directory folder. This file includes the ObserveIT package fileobserveit-agent-OSX-<version>.pkg
. -
Copy the
observeit-agent-OSX-<version>.pkg
package file to your desktop or another folder that is easily accessible.For more information about the files, see Mac Agent Files.
Mac configuration profile must be configured and installed in order for the Agent to record. Do not remove the configuration profile from an endpoint with an installed Agent. See What You Need to Know about Mac Agent Setup.
Setting up the configuration files
To get started add the applications.
-
Log in to VMware AirWatch.
-
Select Devices > Profiles & Resources > Profiles from the menus on the left and the Profiles area displays.
-
Select Add and Add Profile from the dropdown menu. When prompted to select a platform, select macOS.
-
The list of options displays. Select Security & Privacy.
-
Select Device Profile.
The Privacy Preferences display. Here you add the apps and services.
You will add three applications.
To add the logger process, click Add App.
-
The Define App or Process options display.
In this section complete the following:
-
Identifier: =
/Library/IT/agent/logger
For obfuscation, of the filename, replace
logger
with filename you want. -
Identifier Type = Path
-
Code Requirement =
anchor apple generic and identifier logger and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = MUBXW7FUN2)
Scroll down and in this section, complete the following:
-
Accessibility = Allow
-
System Policy All Files = Allow
Scroll down and add the Apple events.
-
Apple Events = Allow
-
Receiver Identifier =
com.apple.systemuiserver
-
Receiver Identifier Type = BundelID
-
Receiver Code Requirements =
identifier "com.apple.systemuiserver" and anchor apple
Click Add Apple Event and add the next Apple event.
-
Apple Events = Allow
-
Receiver Identifier =
com.apple.systemuiserver
-
Receiver Identifier Type = BundelID
-
Receiver Code Requirements =
identifier "com.apple.systemuiserver" and anchor apple
-
-
Click Save.
-
Add the next application.
From Privacy Preferences, click Add App and the Define App or Process options display.
Complete exactly as shown below:
(Scroll down to see all the fields.)
-
Identifier =
/Library/IT/agent/service
-
Type: = PATH
-
Code Requirement: =
anchor apple generic and identifier service and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = MUBXW7FUN2)
-
System Policy All Files = Allow
-
-
Click Save.
-
Add the next application, From Privacy Preferences, click Add App and the Define App or Process options display.
Complete exactly as shown below:
(Scroll down to see all the fields.)
-
Identifier =
/etc/omonitor/logger
For obfuscation, of the filename, replace
logger
with the filename you defined in The Define App or Process options display. step. -
Type = PATH
-
Code Requirement =
anchor apple generic and identifier logger and (certificate leaf[field.1.2.840.113635.100.6.1.9] /* exists */ or certificate 1[field.1.2.840.113635.100.6.2.6] /* exists */ and certificate leaf[field.1.2.840.113635.100.6.1.13] /* exists */ and certificate leaf[subject.OU] = MUBXW7FUN2)
-
Accessibility = Allow
-
-
Click Save.
-
You can review the Apps added in Privacy Preferences.
Deploying the Agent
Before you begin, modify the relevant fields in the preinstall script. (See Mac Agent Files.)
-
Select Apps & Books > Applications from the menus on the left and the Native area displays.
-
Click Add Application.
The Add Application area displays. Click Continue.
-
The Add dialog box displays. Browse to the file you want to upload and click Save. (This is the .pkg file include
observeit-agent-OSX-<version>.dmg>.
-
In the Add Application area, click Continue to go to Workspace One Admin Assistant where you will export the Metadata File.
If this is the first time you are doing this, you must download and install the Workspace One Admin Assistant before you can proceed.
-
In the Administrative Assistant, select the file .(pkg) and click Open and the file parsing begins.
-
When the parsing is complete, click Reveal in Finder.
-
The Finder opens. Locate the plist file that was created.
-
You are returned to the Add Application area. Browse to the .plist file and click Upload. The click Continue.
-
In the Edit Application area, select the Scripts tab.
In the Pre-Install Script field, copy the contents from the preinstall script. (See preinstall script.)
In the Pre-Uninstall field, copy the contents of the preuninstall script. (See preuninstall script .)
Click Save & Assign.
-
In the Select Assignment Groups field, select the groups where the Agent will be installed. Click Add.
-
Preview Assigned Devices and click Publish.
Related Topics: