Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

importaccountentjson - how to add Entitlement MAP

iam01
Regular Contributor
Regular Contributor

Hi team could you provide some example on how to add Entitlments in "Entitlement Map" during imports.

I want to add entitlements in Entitlement Map below.

iam01_0-1713460654220.png

 

9 REPLIES 9

rushikeshvartak
All-Star
All-Star

Refer  sample below

Spoiler
{
"accountParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://example.com",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/x-www-form-urlencoded",
"httpMethod": "GET"
},
"statusConfig": {
"active": "false",
"inactive": "true"
},
"listField": "",
"keyField": "accountID",
"colsToPropsMap": {
"name": "_fields.Actor~#~char",
"accountID": "_fields.Actor~#~char",
"customproperty1": "_fields.CustomActorFields~dot#UserString1~#~char"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.objectList[0].getAt('_links').get(1).getAt('href')==''?null:<specify URL>.concat(response.objectList[0].getAt('_links').get(1).getAt('href').toString().replace('..',''))}"
}
}
}
}
},
"entitlementParams": {
"processingType": "SequentialAndIterative",
"entTypes": {
"Roles": {
"entTypeOrder": 0,
"entTypeLabels": {},
"call": {
"call1": {
"connection": "acctAuth",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": <Specify URL>,
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "_fields.Role~#~char",
"entitlement_value": "_fields.Role~#~char",
"description": "_fields.Description~#~char"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.objectList[0].getAt('_links').get(1).getAt('href')==''?null:<specify URL>.concat(response.objectList[0].getAt('_links').get(1).getAt('href').toString().replace('..',''))}"
}
}
}
}
},
"Organization Units": {
"entTypeOrder": 2,
"entTypeLabels": {},
"call": {
"call1": {
"connection": "acctAuth",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://example.com",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "_fields.HROrganizationUnit~#~char",
"entitlement_value": "_fields.HROrganizationUnit~#~char",
"customproperty1": "_fields.HROrganization~#~char",
"customproperty2": "_fields.ParentOrgUnit~#~char"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.objectList[0].getAt('_links').get(1).getAt('href')==''?null:<specify URL>.concat(response.objectList[0].getAt('_links').get(1).getAt('href').toString().replace('..',''))}"
}
}
}
}
},
"SecurityClass": {
"entTypeOrder": 1,
"entTypeLabels": {},
"call": {
"call1": {
"connection": "acctAuth",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://example.com",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "_fields.SecurityClass~#~char",
"entitlement_value": "_fields.SecurityClass~#~char"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.objectList[0].getAt('_links').get(1).getAt('href')==''?null:<specify URL>.concat(response.objectList[0].getAt('_links').get(1).getAt('href').toString().replace('..',''))}"
}
}
}
}
},
"Module": {
"entTypeOrder": 3,
"entTypeLabels": {},
"call": {
"call1": {
"connection": "acctAuth",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": <specify URL>,
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "_fields.SecObjectName~#~char",
"entitlement_value": "_fields.SecObjectName~#~char",
"entitlementMappingJson": "STORE#ENT#MAPPINGINFO~#~char"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.objectList[0].getAt('_links').get(1).getAt('href')==''?null:<specify URL>.concat(response.objectList[0].getAt('_links').get(1).getAt('href').toString().replace('..',''))}"
}
}
}
},
"entMappings": {
"SecurityClass": {
"listPath": "",
"idPath": "_fields.SecClassName",
"idColumn": "entitlementID",
"mappingTypes": [
"ENT2REVERSE"
]
}
}
},
"Business Class": {
"entTypeOrder": 4,
"entTypeLabels": {},
"call": {
"call1": {
"connection": "acctAuth",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://example.com",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "_fields.SecObjectName~#~char",
"entitlement_value": "_fields.SecObjectName~#~char",
"entitlementMappingJson": "STORE#ENT#MAPPINGINFO~#~char"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.objectList[0].getAt('_links').get(1).getAt('href')==''?null:<specify URL>.concat(response.objectList[0].getAt('_links').get(1).getAt('href').toString().replace('..',''))}"
}
}
}
},
"entMappings": {
"SecurityClass": {
"listPath": "",
"idPath": "_fields.SecClassName",
"idColumn": "entitlementID",
"mappingTypes": [
"ENT2REVERSE"
]
},
"actions": {
"listPath": "",
"idPath": "_fields.IncludedActions",
"idColumn": "entitlementID",
"mappingTypes": [
"ENT2"
]
}
}
},
"actions": {
"entTypeOrder": 5,
"entTypeLabels": {},
"call": {
"call1": {
"connection": "acctAuth",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://example.com",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "_fields.IncludedActions~#~char",
"entitlement_value": "_fields.IncludedActions~#~char"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.objectList[0].getAt('_links').get(1).getAt('href')==''?null:<specify URL>.concat(response.objectList[0].getAt('_links').get(1).getAt('href').toString().replace('..',''))}"
}
}
}
}
}
}
},
"acctEntParams": {
"entTypes": {
"Roles": {
"entKeyField": "entitlementID",
"call": {
"call1": {
"processingType": "http",
"connection": "acctAuth",
"listField": "",
"entKeyField": "entitlementID",
"acctKeyField": "accountID",
"acctIdPath": "_fields.Actor",
"entIdPath": "_fields.ActorRole",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://example.com",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.objectList[0].getAt('_links').get(1).getAt('href')==''?null:<specify URL>.concat(response.objectList[0].getAt('_links').get(1).getAt('href').toString().replace('..',''))}"
}
}
}
}
},
"Organization Units": {
"call": {
"call1": {
"processingType": "http",
"connection": "acctAuth",
"listField": "",
"entKeyField": "entitlementID",
"acctIdPath": "_fields.Actor",
"acctKeyField": "accountID",
"entIdPath": "_fields.HROrganizationUnit",
"http": {
"url": "https://example.com",
"httpContentType": "application/json",
"httpMethod": "GET",
"httpHeaders": {
"Authorization": "${access_token}"
}
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.objectList[0].getAt('_links').get(1).getAt('href')==''?null:<specify URL>.concat(response.objectList[0].getAt('_links').get(1).getAt('href').toString().replace('..',''))}"
}
}
}
}
}
}
},
"entMappingParams": {
"processingType": "SequentialAndIterative",
"entTypes": {
"Roles": {
"ent1KeyField": "entitlementID",
"call": {
"call1": {
"connection": "acctAuth",
"callOrder": 0,
"stageNumber": 0,
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": <specify URL>,
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"ent1IdPath": "_fields.Role",
"ent2IdPath": "_fields.SecurityClass",
"ent2KeyField": "entitlementID",
"targetEntType": "SecurityClass",
"mappingTypes": [
"ENT2"
],
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.objectList[0].getAt('_links').get(1).getAt('href')==''?null:<specify URL>.concat(response.objectList[0].getAt('_links').get(1).getAt('href').toString().replace('..',''))}"
}
}
}
}
}
}
}
}

Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

iam01
Regular Contributor
Regular Contributor

@rushikeshvartak 

In the above example json which section does the mapping of it "Entitlement Map" and how to enable "Remove Ent Task" for those entitlements.

 

 

Manually


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

iam01
Regular Contributor
Regular Contributor

@rushikeshvartak okay, which section of above json is adding to entitlement Map.

i want to add entitlement form diffrent endpoint in map, i could not find those options in above json. 

Lets suppose you have 2 endpoints with same entitlemt name, in import JSON how i can Uniquely specify the entitlement which i want to include in map. 

from above json you can add from same endpoint


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

iam01
Regular Contributor
Regular Contributor

@rushikeshvartak  Got it! what about setting "Remove Ent Task" for those entitlements.  

Its not supported through import right

You can set using enhanced query in that case.


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Do you mean enhanced SQL queries job?

Yes


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.