Skip to main content

About the ServiceNow Integration

The ServiceNow Integration in Iru Endpoint automatically pushes device inventory data from Iru Endpoint to ServiceNow in real-time, ensuring your device inventory in ServiceNow remains in sync with Iru Endpoint.

How It Works

The ServiceNow integration creates a secure connection between Iru Endpoint and your ServiceNow instance, enabling automatic synchronization of Apple device inventory data. Authentication: The integration uses OAuth 2.0 authentication with a dedicated service account in ServiceNow to establish a secure API connection. Data Synchronization: Iru Endpoint automatically discovers all managed Apple devices and continuously syncs device information (serial numbers, model, OS version, user assignments) to ServiceNow’s asset management structure.

Setup Overview

The following is a high-level overview of the integration setup process.
1

Install ServiceNow App

Install the Iru Endpoint ServiceNow app in the ServiceNow integration hub.
2

Configure OAuth Client

Configure an OAuth client app so that Iru Endpoint can interact with the ServiceNow import set API.
3

Create ServiceNow User

Create a ServiceNow user account that can access the ServiceNow API.
4

Setup Integration in Iru Endpoint

Setup the ServiceNow integration in Iru Endpoint.
5

Complete Setup

Done
Once the above is complete, Iru Endpoint will immediately begin to push device asset data to ServiceNow.
In order for the computer record in ServiceNow to be populated with the assigned user from Iru Endpoint, that user must already be registered in ServiceNow.

High-Level Data Flow

When a device enrolls into Iru Endpoint or a device record is modified, the following steps highlight the actions taken to push the changes to ServiceNow:
1

Detect Changes

A change to Iru Endpoint device inventory is detected.
2

Push to Staging Tables

Iru Endpoint pushes these changes to ServiceNow staging tables via the ServiceNow Import Set API.
3

Transform Data

Once the import set flow is initiated, a transform map is used to match columns from the staging tables to columns in the target tables.
4

Update Records

ServiceNow then creates or updates device records in the ServiceNow computer table and Iru Endpoint MDM table accordingly.

Table Interactions

Iru Endpoint inserts device information into the ServiceNow tables below via the Import Set tables API.
TableDescription
cmdb_ci_computersBuilt-in ServiceNow table containing hardware information about devices. (Mac, iPhone, iPad, and tvOS).
x_kandj_kandji_mdmCustom table built by Iru Endpoint to store additional MDM related data about device assets.
x_kandj_kandji_kandji_import_set_computerImport set staging table used to stage device asset information before it is pushed to the cmdb_ci_computers table.
x_kandj_kandji_kandji_import_set_mdmImport set staging table used to stage MDM related device asset information be it is pushed to the x_kandj_kandji_mdm table.

Iru Endpoint device attributes

Iru Endpoint sends the following device asset data to ServiceNow. Iru Endpoint will continue to add attributes to this list over time.

Table: cmdb_ci_computers

Iru EndpointServiceNowDescription
assigned_userassigned_toUser assigned to the device asset
device_capacitydisk_spaceTotal storage capacity
device_namenameName of the device
Discovery sourcediscovery_sourceConstant value set to “Iru Endpoint”
model_namemodelDevice model name
os_typeosOperating system name macOS
os_versionos_versionOperating system version
serial_numberserial_numberDevice serial number, also coalesces (refers back) to the computer table record in ServiceNow
manufacturermanufacturerConstant value set to “Apple”

Table: x_kandj_kandji_mdm

Iru EndpointServiceNowDescription
device_idnameIru Endpoint device ID
blueprint_idnameIru Endpoint blueprint ID, also coalesces (refers back) to the Iru Endpoint MDM table record in ServiceNow.
serial_numberserial_numberDevice serial number, also coalesces (refers back) to the computer table record in ServiceNow.

Next Steps

ServiceNow Configuration for the Iru Endpoint ServiceNow integration.

Considerations

User Requirements: In order for the computer record in ServiceNow to be populated with the assigned user from Iru Endpoint, that user must already be registered in ServiceNow. Data Synchronization: Device inventory data is automatically synchronized in real-time, ensuring ServiceNow always has the most current device information. Table Structure: The integration uses both built-in ServiceNow tables and custom Iru Endpoint tables to store comprehensive device information. API Integration: The integration leverages ServiceNow’s Import Set API for reliable data transfer and transformation.