SCIM Application filtering JSON rule

Which IIQ version are you inquiring about?

Version 8.1

Share all details related to your problem, including any error messages you may have received.

Hello,

We set up a SCIM application and the accounts are returning perfectly. Unfortunately, the entitlements are coming in as a a full JSON string with application, accountname, display etc. on.

I wondered if there was an easy way to filter the JSON of entitlements so that it would only return the value of “display” rather than the full JSON string

You can utilize the ResourceObjectCustomization custom Rule in order to achieve this.

There you can have a custom Beanshell/Java to capture just what you want :wink:

Best!

Hi Keiran,
Welcome to the SailPoint Developer’s Community. There is actualy pretty simple solution depending in which object you have this problem:

  1. If it is the value on the user account object which holds entitlements assigned to this user you can use ResourceObjectCustomization rule to make the conversion.
  2. If it is the value on the entitlement object then you can use ManagedAttributePromotion rule

For both options Java code is similar and pretty simple

import com.google.gson.Gson;

Gson gson = new Gson();
Map map = gson.fromJson(jsonString, Map.class);
resourceObject.put("yourSchemaAttribute",map.get("yourJsonVale");

return resourceObject;

@ipobeidi - BuildMap rule is available only in Delimited file connector - for sure not in SCIM

I meant ResourceObjectCustomization but wrote BuildMap , thx @kjakubiak :grin:

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.