02/13/2023 10:13 PM
Hi ,
we are mapping target attributes from the postman call as specified below.
we want to parse to attributes from the below API call as an entitlement value.
please specify the mapping functionality for the below API call , the entitlement value should be scope + roledefinition ID.
"value": [
{
"properties": {
"roleDefinitionId": "/",
"principalId": "",
"principalType": "ForeignGroup",
"scope": "",
"condition": null,
"conditionVersion": null,
"createdOn": "2022-11-09T07:27:40.7463799Z",
"updatedOn": "2022-11-09T07:27:40.7463799Z",
"createdBy": "",
"updatedBy": "",
"delegatedManagedIdentityResourceId": null,
"description": null
},
"id": "",
"type": "",
"name": ""
}
02/13/2023 10:20 PM
share current json from saviynt eic
02/13/2023 10:28 PM
Hi @rushikeshvartak ,
The ImportAcctEntJSON is as specified below:
{
"accountParams": {
"connection": "userAuth",
"processingType": "SequentialAndIterative",
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "<URL>"
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "value",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "id~#~char",
"name": "appDisplayName~#~char",
"displayName": "displayName~#~char",
"status": "accountEnabled~#~char",
"customproperty1": "appId~#~char",
"customproperty2": "servicePrincipalType~#~char"
}
}
}
},
"entitlementParams": {
"connection": "entAuth",
"processingType": "SequentialAndIterative",
"entTypes": {
"Scope": {
"entTypeOrder": 0,
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 1,
"http": {
"url": "<URL>",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "value",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "id~#~char",
"entitlement_value": "properties.roleDefinitionId~#~char",
"customproperty1": "properties.principalType~#~char",
"customproperty2": "properties.scope~#~char",
"customproperty3": "name~#~char"
}
}
}
}
}
},
"acctEntParams": {
"connection": "entAuth",
"entTypes": {
"Scope": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 2,
"processingType": "httpEntToAcct",
"http": {
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"url": "<URL>",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"entKeyField": "entitlementID",
"acctIdPath": "properties.principalId",
"acctKeyField": "accountID"
}
}
}
}
}
}
02/13/2023 10:35 PM
Refer
https://forums.saviynt.com/t5/identity-governance/rest-string-functions/m-p/9161#M1562