إنتقل إلى المحتوى الرئيسي

هذه الصفحة غير متاحة بالعربية بعد، وتُعرض بالإنجليزية.

macOS: Jamf Pro

The macOS package is universal (Apple silicon and Intel), signed and notarized. It installs the agent at /Library/Dexwize/dexwize-agent and a launch daemon that starts once the agent configuration exists.

Download the package from Devices → Install agent and check it before uploading it to Jamf Pro (see download and verify the package):

shasum -a 256 <file>.pkg # must match the SHA-256 shown in the portal
pkgutil --check-signature <file>.pkg # Developer ID Installer: NewTurn Technologies
spctl -a -vv -t install <file>.pkg # source=Notarized Developer ID

Create an enrollment code in Devices → Install agent (or Settings → Enrollment tokens).

1. Privacy profile​

Create a configuration profile with a Privacy Preferences Policy Control payload that grants Full Disk Access (SystemPolicyAllFiles) to /Library/Dexwize/dexwize-agent, identified by its code requirement (codesign -dr - /Library/Dexwize/dexwize-agent). It lets the agent read crash report headers and launch agent folders. Nothing else is requested: no camera, microphone, screen recording or accessibility access.

2. Package policy​

Upload the package and create a policy (trigger: enrollment and recurring check-in) that installs it on a pilot smart group.

3. Agent configuration​

No script is needed. Create a configuration profile with an Application & Custom Settings payload for the preference domain com.newturn.dexwize.agent, containing your enrollment code. Devices → Install agent shows the property list with your code filled in, under Jamf Pro or Intune (macOS):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>EnrollmentCode</key>
<string><enrollment-code></string>
</dict>
</plist>

Scope it to the same smart group as the package. The agent enrolls as soon as both the package and the profile are on the Mac, in whichever order they arrive; /Library/Application Support/Dexwize/enrollment-status.json and /Library/Logs/Dexwize/agent.log say what it is waiting for or why enrollment failed. Treat the profile as a secret and use a code with an expiry and a device limit.

If you prefer a script, "/Library/Dexwize/dexwize-agent" enroll "<enrollment-code>" run as root does the same and exits non-zero with the reason when enrollment fails.

Agents before 0.3.1 need agent.json written first (tenant ID, server URL and buffer folder) and --enroll <enrollment-token> --server <server-url> --config "/Library/Application Support/Dexwize/agent.json"; the portal shows that script for those versions.

Remediation on macOS​

The agent runs as root and runs a limited set of built-in actions: disabling launch items, restarting allow-listed services and clearing specific application caches as the signed-in user. It trusts only the signing keys written at installation. Actions without a safe macOS equivalent are refused.

Check a device​

sudo launchctl print system/com.newturn.dexwize.agent | head -20
/Library/Dexwize/dexwize-agent --version

The device appears in Devices within five minutes of its first heartbeat.