Click HERE to see how Saviynt Intelligence is transforming the industry. |
06/30/2022 01:05 AM
when read a doc, I need three element to get update ent owner
"acctEntMappingInfoColumnFromEnt": "STORE#ACC#ENT#MAPPINGINFO~#~char" in entitlementParams
And configuring entOwnerMappings and acctEntParams (ProcessType : entToAcctMapping)
Question
1) How can I set Rank ?
2)In JSON below, does customproperty21 means Users.Customproperty21?
Our Saviynt Useranme is "EmpID"
so we need to map with employeeID from response. Here is sample response
06/30/2022 01:44 AM
I tried like below but ent Onwer are not being updated. Please note I removed Token for seucrity reason
{
"globalSettings": {
"dateFormat": "yyyy-MM-dd' 'HH:mm:ss"
},
"accountParams": {
"connection": "acctAuth",
"createUsers": false,
"processingType": "SequentialAndIterative",
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"disableDeletedAccounts": true,
"http": {
"url": "http://api-gateway.coupangdev.com/v2/providers/bigdata_portal_arc/apis/arc/api/v1/account/user?pageN...",
"httpHeaders": {
"X-CAG-Authorization": "<TOKEN>",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "data",
"keyField": "accountID",
"colsToPropsMap": {
"accountID": "account~#~char",
"name": "account~#~char",
"accounttype": "accountType~#~date",
"displayname": "userName~#~char"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.completeResponseMap.afterUrl}"
}
},
"acctEntMappings": {
"SecurityGroups": {
"listPath": "permissions",
"idPath": "securityGroupName",
"keyField": "entitlementID"
}
}
}
}
},
"entitlementParams": {
"connection": "acctAuth",
"processingType": "SequentialAndIterative",
"entTypes": {
"SecurityGroups": {
"entTypeOrder": 0,
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"http": {
"url": "http://api-gateway.coupangdev.com/v2/providers/bigdata_portal_arc/apis/arc/api/v1/entitlement/securi...",
"httpHeaders": {
"X-CAG-Authorization": "<TOKEN>",
"Accept": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "data",
"keyField": "entitlementID",
"colsToPropsMap": {
"entitlementID": "securityGroupName~#~char",
"acctEntMappingInfoColumnFromEnt": "STORE#ACC#ENT#MAPPINGINFO~#~char",
"entitlement_value": "securityGroupName~#~char",
"displayname": "securityGroupName~#~char",
"customproperty1": "workflow.manager~#~char",
"customproperty2": "workflow.owner~#~char"
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.completeResponseMap.afterUrl}"
}
},
"disableDeletedEntitlements": true
}
},
"entOwnerMappings": {
"listField": "data",
"idPath": "owners.employeeNumber",
"keyField": "username"
}
}
}
},
"acctEntParams": {
"connection": "acctAuth",
"entTypes": {
"SecurityGroups": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpEntToAcct",
"http": {
"httpHeaders": {
"X-CAG-Authorization": "<TOKEN>",
},
"url": "http://api-gateway.coupangdev.com/v2/providers/bigdata_portal_arc/apis/arc/api/v1/account/user?pageN...}",
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "data",
"entKeyField": "entitlementID",
"acctIdPath": "account",
"acctKeyField": "accountID",
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.completeResponseMap.afterUrl}"
}
}
},
"call2": {
"connection": "acctAuth",
"callOrder": 1,
"stageNumber": 1,
"showJobHistory": true,
"processingType": "entToAcctMapping",
"ownerKeyField": "username"
}
}
}
}
}
}
01/12/2023 05:35 AM
is it resolved?
01/12/2023 05:37 AM
Yes. Its working now
01/12/2023 05:41 AM
Cool. Are you able to set Owner Rank as well? If yes, can you please share that piece of code with me? tried with "ownerRank":"Rank 2" but no luck
01/12/2023 05:42 AM
Not sure if we can specify the rank as well. In our use case, we are importing all owners as rank 1
01/12/2023 05:50 AM
Ok, thats default. thanks - please post if you get any leads on it.