Kandji to JSM Assets

Configure the connection to Kandji by going to OnLink (Manage your apps) - Connections. Then click on Add System and select “IdM/Device Assets Sources”. Here you can set the API URL and API Key from Kandji. See this document for reference: Kandji API Overview

Once connection is established, please review instructions here to get started with setting up an Assets import configuration. You can then access OnLink app from the “Manage your apps” menu to further configure and set the field level mapping. Here’s an example mapping configuration:

key:device_id=id
map:user.email=userId
map:device_name=deviceName
map:model=deviceModel
map:platform=operatingSystem

Here’s a breakdown of some of the mapping configuration items:

Key or Map

Description

Key or Map

Description

key:device_id=id

The keyword “key” refers to using device_id as a unique identifier. This allows OnLink to update the record. “id” is a text attribute.

map:user.email=userId

Maps user.email to userId text attribute

config:filterKey=platform

config:filterValue=Mac

Set filter key/value pair. This example filters devices that match a specific platform. Possible filter values: Mac, iPad, iPhone, AppleTV

Any other field returned by the API can be used in the mapping. See this link for a full list of available API fields: Kandji List Devices API

OnLink processes data in two steps - Get Data and Import Data. To manually test, you can click on Get Data first and then wait until you see “No more pending records. Data will be imported on next Import run.” message in Job Logs. Then, click on Import. Production runs are fully automated based on the schedule you choose.

image-20240318-045922.png