Connect Swif to Drata, so your devices, and evidence that they meet your security policies, appear in Drata automatically. This helps you keep up with frameworks such as SOC 2, ISO 27001, and HIPAA, without collecting device evidence by hand.
What Swif syncs
Devices
Swif syncs devices that:
are laptops or desktops, running macOS, Windows, or Linux
are assigned to an owner
are active, and enrolled
How devices appear in Drata depends on your connection, V1 or V2. See V1 and V2 below.
Evidence documents
Evidence | Drata type | macOS | Windows | Linux |
OS updates |
| Software Update policy | Software Update policy | Software Update policy |
Disk encryption |
| FileVault policy, or the disk is encrypted | BitLocker policy, or the disk is encrypted | The disk is encrypted, even without an encryption policy |
Screen lock |
| Screen saver policy | Windows power policy | Screen saver policy |
Password manager |
| Installed. See Password manager detection. | Installed | Installed |
Antivirus |
| Installed. See Antivirus detection. | Installed | Installed |
Swif uploads each kind of evidence as a PDF document, to the device in Drata:
V1: only for the owner's most recently active eligible device in Swif, uploaded to the first device linked to that person in Drata. Owners are matched by email. Evidence for the owner's other devices isn't uploaded.
V2: to the matching device, by serial number.
Media disposal: when you wipe a computer with Swif, you can download media disposal evidence, and upload it to Drata, for a record of how the device was disposed of.
When Swif syncs
Automatically, every 4 hours. Devices whose data hasn't changed are skipped.
When you re-sync a device. See Re-sync devices.
Syncing runs in the background. It isn't instant: Swif queues the sync, and Drata shows the changes once it finishes.
V1 and V2
Swif connects to Drata in one of two ways. V2 needs a Drata Advanced or Enterprise plan, since it uses Drata's custom device connections. On other Drata plans, such as Foundations, use V1.
| V1 | V2 |
Drata plan | Any | Advanced or Enterprise |
What Swif creates in Drata | A hardware asset for each device | A real Drata device, linked to its owner, and a hardware asset |
Drata's Personnel page | Shows only devices that already exist in Drata. Otherwise, it may show Unknown Device, or No devices found. | Shows each device, linked to its owner |
Evidence documents | For the owner's most recently active device in Swif only, uploaded to their first device in Drata | For each device, uploaded to the matching device, by serial number |
Device details | None | Operating system, version, serial number, and name |
Encryption status | In the evidence document only | Also as a field Drata's automated tests can use |
Antivirus, password manager, updates, and screen lock | In evidence documents | In evidence documents |
Earlier evidence documents | May be removed | Kept |
Unchanged devices | Skipped | Skipped |
Both send the same five kinds of evidence, as documents. See Evidence documents above.
If you're not sure which you're using, open the Drata integration in Swif, and check API Version.
Connect Swif to Drata
1. Create an API key in Drata
In Drata, click your name at the bottom left, then Settings > API keys.
Click to create a new API key. Name it, for example, Swif.
Choose an expiration. If the key expires, syncing stops until you add a new one in Swif.
Choose Custom scope, and give it the permissions for your connection, V1 or V2:
Scope | Permission | V1 | V2 | Why Swif needs it |
Personnel | List personnel | ✅ | ✅ | To match devices to their owners |
Workspaces | List workspaces | ✅ | ✅ | To show your Drata workspaces, so you can choose one when you connect |
Assets | List assets | ✅ | ✅ | To find assets Swif already created |
Assets | Create asset | ✅ | ✅ | To add devices as hardware assets |
Assets | Update asset | — | ✅ | To update an asset, instead of replacing it |
Assets | Delete asset | ✅ | — | To remove old copies of assets, which V1 replaces |
Devices | List devices | — | ✅ | To find devices Swif already created |
Devices | Create device | — | ✅ | To create real Drata devices, linked to their owners |
Devices | Delete device | — | ✅ | To remove devices that no longer sync |
Devices | Manage device documents | ✅ | ✅ | To upload evidence documents to devices |
Custom Connections | List custom connections | — | ✅ | To find your custom device connection |
V1 can't create Drata devices. It adds assets, and uploads evidence to devices already in Drata. That's why devices on V1 may not appear on Drata's Personnel page. See V1 and V2.
5. Copy the API key.
2. For V2: create an MDM custom connection in Drata
Skip this step for V1.
V2 needs a Drata Advanced or Enterprise plan. In Drata:
In the left navigation, select Connections, and open the tab for available connections.
Filter by the MDM category, and connect Custom Device Connection.
Name the connection, for example Swif.
Choose an API key:
Use an existing API key, such as the one you created for Swif in step 1. It needs the scopes Read Data, Add Data, Update Data, and Delete Data.
Or create a new API key, which gets those scopes automatically.
Open the connection, and find its ID under Account Information. You'll enter it in Swif as the Custom Connection ID.
For details, see Drata's Custom Device Connections.
Drata needs each device linked to an owner. Swif links each device to the person in Drata whose email matches its owner in Swif. Devices without a matching person in Drata aren't synced.
3. Add it to Swif
In Swif, go to Settings > Integrations, and open Drata.
Paste the API key.
Set API Version:
V1, on any Drata plan
V2, on Drata Advanced or Enterprise, and enter your Custom Connection ID
Save.
Swif checks the API key, and for V2, that the custom connection exists in Drata, before saving.
Already connected with V1? If your Drata account has exactly one MDM custom connection, re-syncing a device moves your connection to V2 automatically. If you have more than one, set API Version to V2, and enter the Custom Connection ID of the one to use.
Re-sync devices
To sync a device to Drata without waiting for the next automatic sync:
Go to Device Management > Device Inventory, and open the device.
Click Manage, and choose Re-Sync to Drata.
This is useful when you've just fixed something on a device, and want Drata to show it.
To re-sync several devices, see Manually re-sync device compliance evidence to Drata, Vanta, and Thoropass.
Re-syncing several devices runs in the background. You can keep working, and a notification tells you when it's done.
Re-Sync to Drata appears only when the Drata integration is connected.
Troubleshooting
Drata's Personnel page shows "Unknown Device," or "No devices found"
You're using V1. V1 creates hardware assets, not Drata devices, so it can't link a new device to a person in Drata. To show devices on the Personnel page, use V2, which needs a Drata Advanced or Enterprise plan. See V1 and V2.
Only one of a person's devices appears in Drata
Swif syncs every eligible device, with V1 and V2. With V1, each device is a separate asset. Earlier versions of the V1 integration synced only the most recently active device per person.
Re-sync the missing devices, from Manage > Re-Sync to Drata.
Check that each device can sync. See A device isn't syncing.
Evidence appears on the wrong device
With V1, Swif uploads evidence only for the person's most recently active device in Swif, and uploads it to the first device linked to them in Drata, which may be a different device. With V2, evidence for each device goes to the matching device, by serial number.
Devices disappeared from Drata
Earlier versions of the integration could remove devices from Drata if a sync failed partway. This is fixed: Swif now creates or updates a device before removing an old copy. Re-sync the missing devices, or wait for the next automatic sync.
A device appears more than once in Drata
Earlier versions could create duplicates.
V1: Swif removes old copies of an asset only when it can confirm that Swif created them.
V2: Swif updates the existing asset, but doesn't remove duplicate assets automatically.
Remove any remaining duplicates in Drata.
A device isn't syncing
Check that the device:
is a laptop or desktop, running macOS, Windows, or Linux
is assigned to an owner, whose email matches their record in Drata
is active, and enrolled
Swif won't save my Custom Connection ID
The connection ID doesn't exist in your Drata account. Check it in Drata, and enter it again. Custom connections need a Drata Advanced or Enterprise plan.
Drata doesn't update after I set up the integration
Check the API key, and for V2, the Custom Connection ID.
Re-sync a device, from Manage > Re-Sync to Drata, and give it a few minutes to finish in the background.
Syncing stopped
Your Drata API key may have expired, or been deleted. Create a new one in Drata, and add it in Swif.
Related resources





