Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/01/2024 12:53 PM
Hi Team,
I am onboarding rest based application, but when running access import mapping, we observe account and entitlement mapping is not working. Details were as fallow.
Can you please review and suggest any pointers.
Note: JSON foramt is edited since getting validation error.
"acctEntParams":
"connection": "acctAuth",
"entTypes": {
"Groups": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"showJobHistory": true,
"processingType": "httpEntToAcct",
" {
"url": "https://******/GetGroup?id=${id}",
httpHeaders: {
"Cookie": "${access_token}",
"Content-Type": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "",
"entKeyField": "entitlementID",
"acctIdPath": "Users[[Id]]",
"acctKeyField": "accountID"
}
}
}
}
}
I have tried multiple combinations. But every time getting Accntkey as null.
Group response:
{
"Id": 2,
"Name": "Anonymous Incident Analysts",
"Description": "",
"BusinessUnit": false,
"SecurityRoles": [],
"Users": [
{
"Id": 6,
"FullName": "Admin, Lockpath"
},
{
"Id": 27,
"FullName": "User, Test"
}
],
"ChildGroups": [],
"ParentGroups": []
}
Log:
07/01/2024 09:12 PM
Hi @VijayMaram ,
I would appreciate it if you could share the entire "ImportAccountEntJSON" with me.
Thanks
Prafull,
07/01/2024 10:23 PM
Hi @VijayMaram , can you try this
"acctEntParams":
"connection": "acctAuth",
"entTypes": {
"Groups": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"showJobHistory": true,
"processingType": "httpEntToAcct",
" {
"url": "https://******/GetGroup?id=${id}",
httpHeaders: {
"Cookie": "${access_token}",
"Content-Type": "application/json"
},
"httpContentType": "application/json",
"httpMethod": "GET"
},
"listField": "Users",
"entKeyField": "entitlementID",
"acctIdPath": "Id",
"acctKeyField": "accountID"
}
}
}
}
}
07/02/2024 06:02 AM
07/02/2024 09:06 PM
Hi @VijayMaram ,
Could you please share the postman's response? The attribute mapping for "listField" and "entitlementMappingJson" has to be put through a validation process.
********/GetUsers
******/SecurityService/GetGroups
********/SecurityService/GetGroup?id=${id}
Thanks
Prafull,
07/03/2024 10:39 AM
Hi @prafullgoyal
Please below information.
********/GetUsers
F:\>curl -b cookie.txt -H "content-type: application/json" -H "Accept: application/json" -X POST -d @GetUsersInput.json "https://******/SecurityService/GetUsers"
[
{
"Id": 1191,
"FullName": "Abernathy, Stacey",
"Username": "s96565g",
"Active": true,
"Deleted": false,
"AccountType": 1
},
{
"Id": 973,
"FullName": "Anderson, Anna",
"Username": "a72962a",
"Active": true,
"Deleted": false,
"AccountType": 1
},
{
"Id": 18647,
"FullName": "Capuano, Josef",
"Username": "j17218c",
"Active": true,
"Deleted": false,
"AccountType": 1
},
{
"Id": 3186,
"FullName": "Christensen, Eric",
"Username": "e68480c",
"Active": true,
"Deleted": false,
"AccountType": 1
},
******/SecurityService/GetGroups
F:\>curl -b cookie.txt -H "content-type: application/json" -H "Accept: application/json" -X POST -d @GetGroups.json https:********/SecurityService/GetGroups
[
{
"Id": 931,
"Name": "Administration Platform Support"
},
{
"Id": 943,
"Name": "AM BC Compliance Administrator"
}
]
*******/SecurityService/GetGroup?id=${id}
F:\>curl -b cookie.txt -H "content-type: application/json" -H "Accept: application/json" https://********/SecurityService/GetGroup?id=761
{
"Id": 761,
"Name": "AM External Audit Evidence Responders",
"Description": "Membership of this group required approval from April Vroom A92582V, Jessie Williams M16524W or Stephanne Payne S68507P. Audit Manager (AM) External Audit Evidence Responders..",
"BusinessUnit": false,
"LDAPDirectory": {
"Id": 3,
"DisplayName": "RemoteDirectorySync_Sandbox"
},
"LDAPGroupName": "KL_AMExtAudEvdcRsp_P",
"LDAPGroupDN": "CN=KL_AMExtAudEvdcRsp_P,OU=Keylight Groups,OU=BCBST Groups,DC=bcbst,DC=com",
"SecurityRoles": [
{
"Id": 87,
"Name": "AM_Ext_Audit_Evidence_Responders "
}
],
"Users": [
{
"Id": 14,
"FullName": "Keith, Ted"
},
{
"Id": 15,
"FullName": "Marter, Lisa"
},
{
"Id": 18,
"FullName": "Clark, Carl"
},
{
"Id": 21,
"FullName": "Campbell, Charles"
},
07/03/2024 11:27 PM - edited 07/03/2024 11:28 PM
07/02/2024 06:24 AM
@VijayMaram do you see entitlement getting imported and entitlement ID populated with ID of applications end?
07/02/2024 07:43 AM
07/02/2024 07:44 AM
@VijayMaram share logs when you trigger job
07/02/2024 08:43 AM
07/02/2024 10:31 AM