Skip to main content

Set Up Swif Integration with Drata

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

Devices appear in Drata under Assets.

Evidence, for each device owner

Evidence

Drata type

macOS

Windows

Linux

OS updates

AUTO_UPDATES_EVIDENCE

Software Update policy

Software Update policy

Software Update policy

Disk encryption

HARD_DRIVE_ENCRYPTION_EVIDENCE

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

LOCK_SCREEN_EVIDENCE

Screen saver policy

Windows power policy

Screen saver policy

Password manager

PASSWORD_MANAGER_EVIDENCE

Installed

Installed

Antivirus

ANTIVIRUS_EVIDENCE

Installed. See Antivirus detection.

Installed

Installed

App blocking

APPLICATION_BLOCK_POLICY

Application block policy

Application block policy

Application block policy

Evidence is uploaded to each device owner's record in Drata, matched by email.

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

  • Right away, when you re-sync a device. See Re-sync devices.


How devices are updated

  • Devices are updated in place in Drata. If a device hasn't changed, Swif skips it.

  • Evidence documents are added, and earlier ones are kept, so Drata has a history.


Connect Swif to Drata

1. Create an API key in Drata

  1. In Drata, click your name at the bottom left, then Settings > API keys.

  2. Click to create a new API key. Name it, for example, Swif.

  3. Choose an expiration. If the key expires, syncing stops until you add a new one in Swif.

  4. Choose Custom scope, and give it these permissions:

    • Assets: Full access - To sync company-owned devices

    • Devices: Read and write - To manage device documents

    • Evidence Library: Full access - To sync device evidence

    • Personnel: Read details, and list - To match devices to their owners, and upload evidence to each person

    • Workspaces: Read - To choose the workspace Swif syncs to

  5. Copy the API key.

2. Create an MDM custom connection in Drata

Swif syncs through an MDM custom connection in Drata. Create one, and Swif finds it automatically. You don't need to enter its ID in Swif.

Keep only one MDM custom connection. If there's more than one, Swif can't tell which to use.

3. Add it to Swif

  1. In Swif, go to Settings > Integrations, and open Drata.

  2. Paste the API key, and save.

Swif checks the API key before saving.


Re-sync devices

To send a device's data to Drata right away, without waiting for the next automatic sync:

  1. Go to Device Management > Device Inventory, and open the device.

  2. 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.

Re-Sync to Drata appears only when the Drata integration is connected.


Troubleshooting

Devices appear under Assets, but not on Drata's Personnel page

This is how syncing works today. Swif syncs devices to Drata's Assets, and uploads evidence to each device owner. Drata doesn't link these assets to people on its Personnel page. See Drata's Understanding Device Linking, Removal, and Visibility.

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. Re-sync the device. Swif now updates the existing copy, and removes extra copies it created, within a few minutes.

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

Drata doesn't update after I set up the integration

Check that your Drata account has exactly one MDM custom connection. Then re-sync a device, from Manage > Re-Sync to Drata, so Swif finds it.

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

Did this answer your question?