#19696·snipe-it

[Feature]: Sophos Central sync adapter

Author: bjhinkleCreated Sep 23, 2026Updated Sep 29, 2026
Labels🔄 sync adapters

Snipe-IT Version

master b86db3f00b (footer shows v8.7.2); checked against current develop (8df2eb4576)

How can we help?

Would you be open to a sync adapter for Sophos Central? Sophos Central is the cloud console for Sophos's endpoint protection (Intercept X with EDR). It would add two things: devices that no MDM covers, such as Linux laptops, Windows PCs and Macs never added to Apple Business Manager, and security status (EDR health, tamper protection, disk encryption) for devices another adapter already created.

We're happy to write it as a PR against develop once the release is out, or to test yours against our tenant if you'd rather build it. We're asking first because it depends on matching across adapters, which #19628 lists as a current limitation. The new "match by serial" option covers much of it.

How the API differs from the existing adapters

  • Auth is OAuth2 client credentials at https://id.sophos.com/api/v2/oauth2/token, and tokens last an hour. GET https://api.central.sophos.com/whoami/v1 then returns the tenant ID (id) and a regional data host (apiHosts.dataRegion). Every data call goes to that host with the bearer token and an X-Tenant-ID header. No current adapter has that discovery step. The Workspace ONE adapter looks closest: client credentials against a separate identity host, plus a tenant header.
  • Devices come from GET /endpoint/v1/endpoints, paged with pageSize and pages.nextKey. serialNumber is only returned with view=full. The default, basic and summary views leave it out.
  • Endpoints have no hardware model or manufacturer.
  • Our credential is tenant-level. Partner and organization credentials, which resellers and multi-tenant orgs use, return a different idType and need a tenant chosen first.

Suggested mapping

Sophos field Snipe-IT field
hostname hostname
serialNumber serial
macAddresses, ipv4Addresses (first of each) mac, ip
os.platform, os.name and the version fields os, os_version
lastSeenAt last_seen
health.overall, health.threats.status, health.services.status, tamperProtectionEnabled, encryption.overallStatus, type, associatedPerson.name extras, mappable to custom fields

associatedPerson is the last user to log in, so it seems better as an extra than as a checkout.

Framework points that affect it (from reading develop at 8df2eb4576; not tested)

  • Joining assets another adapter created needs the "match by serial" option. Keying records on the serial rather than the Sophos endpoint ID, as Zentral does, would keep a reinstalled Mac on its asset. Sophos gives a reinstall a new endpoint ID, and the unique (source, asset) index stops the new ID from attaching to the same asset. 10 of our serials have two endpoint records, apparently from reinstalls and hand-offs.
  • New assets need a model, and Sophos doesn't supply one. A placeholder model name, or a default model per adapter next to the default status, would cover it.
  • All 11 of our Linux devices are listed as servers, including a laptop, so a computer/server filter can't keep Linux laptops and skip servers. Cloud instances carry cloud.provider, which may help.
  • MAC, IP, OS, OS version and last seen are stored once per asset (upsertExternalSource() keys on asset_id), so when a second adapter matches by serial, the two would overwrite each other's values.

From our tenant

  • 111 endpoint records: 99 Mac, 11 Linux, 1 Windows. 106 carry a serial, and the 5 without are all Linux.
  • 71 of the 81 Macs the AxM adapter brought in match a Sophos endpoint by serial. Sophos also has 18 Macs that aren't in Apple Business Manager, plus the Linux and Windows machines.

Drafted with help from an AI assistant. The counts are from our own tenant.

Code of Conduct

  • I agree to follow this project's Code of Conduct