To correctly distribute the Carbon Black Cloud sensor for macOS as a managed application, you must parse the sensor kit and modify the PLIST file.
Procedure
- Open the Workspace One Admin Assistant app and upload the downloaded sensor kit from the Carbon Black Cloud console (confer_installer_mac-<version>.dmg).
- When parsing completes, click the Reveal in Finder button.
- Expand the CBCloud Install-<version> folder and right-click the CBCloud Install-<version>.plist file.
- Click Open With and select an editor of your choice.
For example, TextEdit, Xcode, or vim.
- Modify the PLIST file by adding the following XML snippet:
<key>installs</key> <array> <dict> <key>CFBundleIdentifier</key> <string>com.vmware.carbonblack.cloud.se-agent</string> <key>CFBundleName</key> <string>VMware CBCloud</string> <key>CFBundleShortVersionString</key> <string>3.5.1fc19</string> <key>CFBundleVersion</key> <string>3.5.1fc19</string> <key>minosversion</key> <string>10.15</string> <key>path</key> <string>/Applications/VMware Carbon Black Cloud/VMware CBCloud.app</string> <key>type</key> <string>application</string> <key>version_comparison_key</key> <string>CFBundleShortVersionString</string> </dict> </array>
Note: The version displays with "fc" included. Examples:Sensor Version PLIST File Sensor Version Value 3.5.2.76 3.5.2fc76 3.6.2.110 3.6.2fc110 3.7.2.77 3.7.2fc77 3.7.3.30 3.7.3fc30 - Replace the CFBundleShortVersionString and CFBundleVersion values if they are different for the particular sensor version that you are deploying.
- Optional. Generate the
installs
array in either way:- Export the VMware CBCloud.app from the installer package and run VMware CBCloud.app through the Workspace ONE Admin Assistant app.
- If you installed the Carbon Black sensor kit on the machine with Workspace ONE Admin Assistant, copy
VMware CBCloud.app
to your ~/Downloads directory (cp -R /Applications/VMware\ Carbon\ Black\ Cloud\VMware CBCloud.app ~/Downloads) and parse ~/Downloads/VMware CBCloud.app through the Workspace ONE Admin Assistant app.
The PLIST generated in this instance contains the appropriateinstalls
array information. - Save and close the modified PLIST in the editor of your choice.