and more in a single search tool across platforms. Read the announcement here. |
12/01/2022 10:05 PM - edited 12/01/2022 10:45 PM
Hi Team,
We have rest end point - Same URL has Account and Entitlements both.
Import JSON
~~~~~~~~~~~~~
{
"accountParams": {
"connection": "userAuth",
"processingType": "SequentialAndIterative",
"statusAndThresholdConfig": {
"statusColumn": "customproperty16",
"activeStatus": [
"ACTIVE",
"PROVISIONED"
],
"deleteLinks": true,
"accountThresholdValue": 1000,
"correlateInactiveAccounts": false,
"inactivateAccountsNotInFile": true,
"deleteAccEntForActiveAccounts": true
},
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "https://xxxxxx/v1/users/entitlements?size=500&page=1",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpMethod": "GET",
"httpContentType": "application/json"
},
"listField": "content",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "email~#~char",
"name": "username~#~char",
"customproperty1": "username~#~char",
"customproperty2": "firstName~#~char",
"customproperty3": "lastName~#~char",
"customproperty5": "email~#~char",
"customproperty16": "status~#~char",
"customproperty15": "country~#~char",
"customproperty21": "userId~#~char",
"displayname": "username~#~char"
}
}
},
"acctEntMappings": {
"Entitlements": {
"importAsEntitlement": true,
"listPath": "entitlements",
"idPath": "id",
"keyField": "entitlementID",
"colsToPropsMap": {
"customproperty1": "persona~#~char",
"description": "description~#~char",
"customproperty2": "store~#~char",
"entitlementID": "id~#~char",
"entitlement_value": "roleId~#~char",
"displayName": "roleId~#~char",
"entitlement_glossary": "id~#~char"
}
}
}
},
"entitlementParams": {
"processingType": "SequentialAndIterative",
"entTypes": {
"Entitlements": {
"entTypeOrder": 0,
"call": {
"call1": {
"callOrder": 0,
"connection": "userAuth",
"listField": "content",
"keyField": "entitlementID",
"http": {
"url": "https://xxxxxx/v1/entitlements?size=100&page=1",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpMethod": "GET",
"httpContentType": "application/json"
},
"colsToPropsMap": {
"customproperty1": "persona~#~char",
"description": "description~#~char",
"customproperty2": "store~#~char",
"entitlementID": "id~#~char",
"entitlement_value": "roleId~#~char",
"displayName": "roleId~#~char",
"entitlement_glossary": "id~#~char"
}
}
}
}
}
},
"acctEntParams": {
"connection": "userAuth",
"successResponses": {
"statusCode": [
200,
201,
202,
203,
204,
205
]
},
"unsuccessResponses": null,
"entTypes": {
"Entitlements": {
"call": {
"call1": {
"processingType": "acctEntMappings"
}
}
}
}
}
}
We have total 62 entitlements (entitlementParams).
for below mentioned user has only one entitlement assigned at target but when we run access import its bringing all 62 entitlements
below one marked entitlement only assigned target but in saviynt its bringing all.
any idea what i am missing here ?
12/02/2022 10:07 AM
Try keeping listPath as ""
12/05/2022 04:37 AM
updated as listPath:"" , it didnt not make any difference.
Should we put GET and URL in '"acctEntMappings": block ?
12/05/2022 04:39 AM
You can try with httptoent processing