Overview
The Apple Tracking Policy controls which device events and security information Swif tracks on managed Macs, iPhones, and iPads. Turn on each kind of tracking separately:
Tracking | Mac | iPhone and iPad | Collected by |
Device lock | ✅ | ✅ | Swif, when the device accepts a lock command |
Device wipe | ✅ | ✅ | Swif, when the device accepts an erase command |
Location | ✅ About once a day | ✅ At the interval you set | Swif agent on Macs; Swif Mobile Security app on iPhone and iPad |
USB | ✅ | — | Swif agent |
Application block | ✅ | — | Swif agent |
XProtect log | ✅ | — | Swif agent |
Audit log | ✅ | — | Swif agent |
System folder permissions | ✅ | — | Swif agent |
Clock drift | ✅ | — | Swif agent |
Use this policy to collect evidence for investigations, review device activity, and monitor security settings.
Important: Tracking only reports. It doesn't change anything on the device. Tracking doesn't block USB devices or apps, lock or erase devices, start XProtect scans, change permissions, or fix the clock. Use the related policies and commands for those.
Requirements
Requirement | Details |
Platforms | macOS 12 or later; iOS and iPadOS 15 or later |
Device ownership | Company-owned devices. BYOD is supported on Macs only. |
Mac tracking | The Swif agent installed and running, for every setting except lock and wipe tracking |
iPhone and iPad location | The Swif Mobile Security app installed, with location access set to Always. See Introducing Swif Mobile Security for iOS/iPadOS. |
Application block tracking | An Apple Application Block Policy assigned to the same Macs |
Connectivity | Devices must be online to receive settings and report information |
Settings reference
Setting | What it tracks | Platforms | Default |
USB Tracking | USB device connections | macOS 12 | Off |
Device Lock Tracking | Each time the device accepts a lock command sent from Swif | macOS, iOS/iPadOS 15 | Not set |
Device Wipe Tracking | Each time the device accepts an erase command sent from Swif | macOS, iOS/iPadOS 15 | Not set |
Location Tracking | The device's location | macOS 12, iOS/iPadOS 15 | Off |
Location Reporting Interval (minutes) | How often iPhones and iPads report their location. Shown when Location Tracking is on. | iOS/iPadOS 15 | [default] ([minimum]–[maximum]) |
Application Block Tracking | Each app the Swif agent blocks | macOS 12 | Off |
XProtect Log Tracking | XProtect Remediator scan results | macOS 12 | Off |
Audit Log Tracking | Audit log configuration, for the ALC-1 control | macOS 12 | Off |
System Folder Permission Tracking | System folders that any user can write to | macOS 12 | Off |
Clock Drift Tracking | Whether the Mac's clock is in sync with its time server | macOS 12 | Off |
Allowed Clock Drift (seconds) | The largest difference that still counts as in sync. Shown when Clock Drift Tracking is on. | macOS 12 | 270 ([minimum]–[maximum]) |
Device Lock Tracking and Device Wipe Tracking have no default. Turn each one on or off explicitly when you create the policy.
About each setting
USB Tracking
Records when USB devices, such as external drives or peripherals, connect to the Mac. This helps investigate when hardware was connected.
A connection event doesn't show which files were copied, or prove that data left the organization. To restrict USB devices, use the Apple USB Policy.
Device Lock Tracking and Device Wipe Tracking
Swif records an event each time a device accepts a lock or erase command sent from Swif. Swif records these itself, so no agent or app is needed, and they work on Macs, iPhones, and iPads.
These settings don't send lock or erase commands. Use the device's actions in Swif for that.
They don't track when users lock their own screens.
An event means the device accepted the command. For offboarding or disposal, review the command's status and your device-handling records too. A wiped device may no longer be able to report.
Location Tracking
Platform | How location is reported |
Mac | About once a day, through the Swif agent |
iPhone and iPad | Through the Swif Mobile Security app, at Location Reporting Interval (minutes). Shorter intervals use more battery. |
iPhones and iPads report location only while the user allows Swif Mobile Security location access Always. Without it, the device doesn't report its location.
Location reporting is periodic, not continuous, real-time tracking. Read each location with its timestamp.
Turn on location tracking only for devices and purposes your organization's tracking practices cover.
Application Block Tracking
Reports each app the Swif agent blocks, when an Apple Application Block Policy is assigned to the same Macs.
The Application Block Policy defines which apps are blocked. This setting reports the blocks. It doesn't create a blocklist or record all app usage. See Apple Tracking Policy (App Blocking Tracking).
XProtect Log Tracking
Periodically reads XProtect Remediator scan results from the macOS unified log, and reports:
which malware family plugin ran
the scan verdict
every path XProtect reported or remediated
This is monitoring only. The policy never configures or starts XProtect. A plugin name identifies the scanner that ran; it doesn't mean malware was found. See Apple: Protecting against malware in macOS.
Audit Log Tracking
Reports the audit log configuration for the ALC-1 control:
the audit log folder's mode, owner, and group
the audit log files' mode and ownership
access control lists (ACLs) on the folder and files
the audit failure notification setting
This is monitoring only. Permissions and ownership are never changed.
System Folder Permission Tracking
Every 30 minutes, the Swif agent checks for folders under /System/Volumes/Data/System that any user can write to, and reports them. This supports CIS macOS Benchmark recommendation 5.1.6.
This is monitoring only. Permissions are never changed.
Clock Drift Tracking
Every 30 minutes, the Swif agent compares the Mac's clock with its time server, and reports whether the difference stays within Allowed Clock Drift (seconds). The default, 270 seconds, matches the macOS Security Compliance Project (mSCP).
If the time server can't be reached, for example because the network blocks NTP, the result is reported as not measured.
This is monitoring only. The clock is never changed. To keep Macs in sync, use the Apple Date & Time Policy.
Suggested starting configuration
For a pilot on company-owned devices:
Setting | Suggested value |
USB Tracking | On, if USB activity matters for investigations |
Device Lock Tracking | On |
Device Wipe Tracking | On |
Location Tracking | Off, unless your organization needs device location |
Application Block Tracking | On, if you use the Apple Application Block Policy |
XProtect Log Tracking | On |
Audit Log Tracking | On |
System Folder Permission Tracking | On |
Clock Drift Tracking | On, with the default 270 seconds |
These are suggestions, not product defaults. For BYOD Macs, turn on only what's needed, and explain the data collected to users.
Create the policy
In Swif, go to Device Management > Policies, then select Create new policy > Configure a Policy.
Select Apple Tracking Policy.
Enter a clear name, such as
Device Tracking – Company Devices.Turn each tracking option on or off. Set Device Lock Tracking and Device Wipe Tracking explicitly.
If you turn on Location Tracking, set Location Reporting Interval (minutes) for iPhones and iPads.
If you turn on Clock Drift Tracking, set Allowed Clock Drift (seconds).
Save the policy.
Assign it to a small test group first.
View tracking data
Data | Where to find it |
Device events, such as USB, lock, wipe, and app blocks | Device Management > Event Logs |
Location | The device's page, on the Tracking tab |
XProtect results, audit log configuration, system folder permissions, and clock drift | The device's security and compliance reports |
Check the device, event time, and last check-in before reading a record.
Verify the policy
Tracking | How to check |
USB | Connect a test USB device to a Mac, and look for the event. |
Device lock | Send a lock command from Swif to a test device, and look for the event. |
Device wipe | Review an existing wipe record, or test on a device you plan to erase. Don't wipe a production device to test tracking. |
Location (Mac) | Check the location on the device's Tracking tab after about a day. |
Location (iPhone or iPad) | Make sure Swif Mobile Security has location access Always, then check the location after the reporting interval. |
Application block | Try to open a harmless app blocked by your pilot Application Block Policy. |
XProtect | Wait for normal XProtect activity, then check for results. Don't download malware to test. |
Audit log | Compare the reported configuration with your baseline. Don't weaken permissions to test. |
System folder permissions | Wait up to 30 minutes, then check the report. |
Clock drift | Wait up to 30 minutes, then check the result. |
A successful install confirms the policy arrived, not that an event has happened. Some data appears only after an event, or after the next collection.
Privacy and data handling
Tracking records can include device activity, physical location, and file paths. XProtect paths may include usernames or project names, and audit log configuration can show local account and permission details.
Tell users which tracking you've turned on, restrict access to reports, and follow your organization's retention process. The policy has no retention setting, so turning off a tracking option doesn't delete data already reported.
For more information, see the Swif Privacy Policy.
Troubleshooting
No events appear
Check that the tracking option is on, and the device meets the requirements.
On Macs, check that the Swif agent is running.
Check the device's last check-in, and whether a relevant event has happened since the policy applied.
No lock event appears after a user locked their Mac
This is expected. Device Lock Tracking records only lock commands sent from Swif, not users locking their own screens.
An iPhone or iPad doesn't report its location
Check that Swif Mobile Security is installed.
Check that the app's location access is set to Always. With While Using or Never, the device doesn't report its location.
Wait for Location Reporting Interval (minutes) to pass.
A Mac's location is a day old
This is expected. Macs report their location about once a day.
Clock drift shows not measured
The Mac couldn't reach its time server, for example because the network blocks NTP. Check that the Mac can reach its time server on UDP port 123.
An app is blocked but no event appears
Check that Application Block Tracking is on.
Check that the block came from the Apple Application Block Policy. Blocks by other security tools don't create Swif events.
USB activity appears, but file transfers don't
USB tracking records connections, not file transfers. Use a data protection control if you need to detect or prevent transfers.
A reported setting isn't corrected
This is expected. Audit log, system folder permission, and clock drift tracking only report. Fix the setting separately, then check the next report.