WAI Docs Wed Aug 19 13:22:37 EDT 2026
List
Quick Start
Quick Start
User Guide
User Guide
Policies - GuardRails
Policies - GuardRails
Witness Anywhere: Remote Device Security
Witness Anywhere: Remote Device Security
Witness Attack
Witness Attack
Administrator Guide
Administrator Guide
404
404
Witness Anywhere – Intune Admin Guide (macOS Physical devices)
Mac OS PAC Enrollment Flow
The deployment follows these stages:
- Registration Script runs → device registers with WitnessAI and receives the PAC URL
- Plist file created → PAC URL, static FQDN, and device fingerprint stored locally
- PAC URL applied → proxy configured on all active network interfaces
- Stunnel installed → TLS tunnel established for secure proxy communication
- Audit script runs every 15 minutes → ensures PAC URL remains active and correct.
Configuration Guide
1. Generate PAC Token & Download Files
- As a User with Admin Role or above, log into the WitnessAI Console.
- Click on the Settings menu item, then click on Proxy Configuration in the sub-menu.
- Enter a name in the Key Name field.
- Choose an Expiration Date.
- Click the Generate PAC Token button.
- Locate the row in the list with the Key Name and Expiration Date of the PAC Token you created, and click the Download Symbol.
- Click on Intune (Mac) from the dropdown, and a zip file will be downloaded to your Downloads folder.
2. Download Files from WitnessAI Console
Admin Action: Log into the WitnessAI Console and download the deployment bundle by selecting "Intune" as the Vendor and "macOS" as the platform from the PAC Tokens window.
Bundle Contents:
File | Description |
register_device.sh | Shell script to register the device with Witness Anywhere |
pac_audit.sh | Shell script to monitor and enforce proxy compliance |
flush.sh | Shell script to uninstall Witness Anywhere from a device |
witnessai_status.sh | Custom attribute script for admin visibility in Intune |
WitnessAI.crt | WitnessAI Root CA certificate for TLS inspection |
3. Push the WitnessAI Root Certificate
The WitnessAI root certificate must be installed on devices before the proxy can inspect AI traffic.
- In the Microsoft Intune admin center, navigate to Devices → By platform → macOS → Manage devices → Configuration
- Click Create → New Policy
- Set Profile type to
Templatesand select Trusted certificate, then click Create

- Enter a name:
WitnessAI Root Certificate - Click Next to go to Configuration Settings
- Set Deployment Channel to
Device Channel
- Upload the
WitnessAI.crtfile
- Click Next
- Assign to the relevant device/user groups
- Click Next → Review + create → Create

4. Upload the Registration Script
The registration script registers the device with WitnessAI and configures the proxy settings.
- Navigate to Devices → By platform → macOS → Manage devices → Scripts
- Click Add
- Enter a name:
WitnessAI Registration, then click Next - In Script settings:
- Upload script: upload
register_device.sh - Run script as signed-in user:
No - Hide script notifications on devices:
Yes - Script frequency:
Not configured(runs once per device)

- Click Next, assign to the relevant device/user groups
- Click Next → Review + add → Add
5. Upload the PAC Audit Script
The audit script runs every 15 minutes to verify and automatically remediate proxy settings on all active network interfaces.
- Follow steps 1–3 from Section 3 above, using the name
WitnessAI PAC Audit - In Script settings:
- Upload script: upload
pac_audit.sh - Run script as signed-in user:
No - Hide script notifications on devices:
Yes - Script frequency:
Every 15 minutes

- Assign to the relevant device/user groups and save
6. Configure the WitnessAI Status Custom Attribute
The status custom attribute gives administrators a real-time diagnostic view of each device's WitnessAI deployment state directly in the Intune console, refreshed every 8 hours.
- Navigate to Devices → By platform → macOS → Organize devices → Custom attributes for macOS
- Click Add
- Enter a name:
WitnessAI Statusand click Next - In the Attribute settings page, set Data type to
String - Upload
witnessai_status.sh

- Click Next, assign to the relevant device/user groups, then Add
The Result column for each device will display a status string in the following format:
Plist: Found | PAC URL: Found | Proxy: Compliant | Stunnel: RunningUse this to diagnose device state at a glance:
Result | Meaning | Action |
Plist: Not Found | Device not registered | Re-run the registration script |
PAC URL: Not Found | Registration failed mid-way | Check /tmp/pac_registration.log on the device |
Proxy: Unknown (No PAC URL) | Plist missing or PAC URL empty | Re-run the registration script |
Proxy: Non-Compliant | Proxy knocked off an interface | Audit script will self-heal within 15 minutes |
Stunnel: Not Running | TLS tunnel is down | Contact WitnessAI support |
7. Upload the Flush Script
The flush script is used to uninstall Witness Anywhere from a device when required.
- Follow steps 1–3 from Section 3 above, using the name WitnessAI Flush
- In Script settings:
- Upload script: upload
flush.sh - Run script as signed-in user:
No - Hide script notifications on devices:
Yes - Script frequency:
Not configured - Assign only to the devices you want to offboard and save

Witness Anywhere – Intune Admin Guide (macOS Physical devices)Mac OS PAC Enrollment FlowConfiguration Guide1. Generate PAC Token & Download Files2. Download Files from WitnessAI Console3. Push the WitnessAI Root Certificate4. Upload the Registration Script5. Upload the PAC Audit Script6. Configure the WitnessAI Status Custom Attribute7. Upload the Flush Script