Saviynt to JSM Assets
Import users, groups, roles and other attributes from Saviynt to JSM Assets.
Configure the connection to Saviynt by going to OnLink (Manage your apps) - Connections.
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. OnLink supports any Saviynt “GET” API. API docs are available here: https://docs.saviyntcloud.com/bundle/API-Reference-Guide/page/Content/API-References.htm .
Here’s an example mapping configuration for Users where any field available in this API (Identity Administration - Users - Get List of Users) can be used to map to Asset object.
key:username=Usernamemap:firstname=Firstnamemap:lastname=Lastname
Here’s a breakdown of some of the mapping configuration items:
Key or Map | Description |
|---|---|
| The keyword “key” refers to using username as a unique identifier. This allows OnLink to update the record. Any other unique field (e.g. user id, email address) can be used as the key. |
| Maps email to User which can be an attribute of type User i.e., Atlassian User object |
| Set search filter to limit users returned. This is a required field when getting users. “userQuery” attribute can be set e.g. |
| OnLink calls the “Get List of Users” API by default. However data_source config parameter allows you to change the API to other Saviynt APIs. Use it in conjunction with section and http_method parameters. For e.g, to use getUser api, use below config:
Here’s an example to get organizations info: Identity Administration - Organization - Get Organization.
Here’s an example for user roles: Identity Administration - Users - Get Flat Response Role Details For User:
Here’s an example for Get List of Entitlement Types API - {{url}}/ECM/{{path}}/getEntitlementTypes
Here’s an example for getEndpoints
Example for getEntitlements
If a Saviynt API is an HTTP Post method, then set Other Saviynt API sources can be added in a similar way. |
Get user role and entitlements | To get roles (or entitlements) assigned to users, follow below mapping example. OnLink first gets all users by making getUser call, and then makes getRoles API call for each user. User + Roles mapping example:
User + Entitlements mapping example:
|
| (optional). By default, OnLink uses the version specified in the URL when setting up the connection. However this config parameter allows you to overwrite that version. |
| (optional) set additional filter criteria e.g. config:filterKey=filtercriteria config:filterValue=supported api filtercriteria format |
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.