Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

access import using processing type httpAcctToEnt

sudheera
New Contributor
New Contributor
Related to webservice application access import issue.
 
We need to import accounts and access using processing type httpAcctToEnt. Need to iterate through each account to get access. Account import is working fine but in access import json builder is not fetching the account customproperty.
 
How to get access for each account using email from the account which is stored in account customproperty20?
 
Tried below json in accentimport json:
"accountParams": {
...............
"acctEntMappings": {
"Access-Role": {
"listPath": "groups",
"idPath": "label",
"keyField": "entitlement_value"
}
}
}
 "acctEntParams": {
"connection": "acctAuth",
"entTypes": {
"Access-Role": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpAcctToEnt",
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://removed.com/awsdevtac/metaServlet?${new groovy.json.JsonBuilder([ authPass:'tala', authUser: 'liv', userLogin : account.customproperty20, actionName : 'getUserInfo' ]).toString().bytes.encodeBase64()}",
"httpMethod": "GET"
},
"listField": "groups",
"entIdPath": "label",
"entKeyField": "entitlement_value",
"acctIdPath": "userId",
"acctKeyField": "accountID"
}
}
}
}
}
 
[This message has been edited by moderator to disable url hyperlink]
5 REPLIES 5

rushikeshvartak
All-Star
All-Star

Could you kindly provide a detailed snapshot of the information extracted from the logs, encompassing errors and other pertinent functionality details encountered during the execution of this process? Your assistance in furnishing this information would greatly aid in the analysis and resolution of any issues .



‼️‼️⚠️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.⚠️‼️‼️


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

please find the attached logs.

When i tried with the hardcoded value for  userLogin : account.customproperty20 in URL it is  working fine. How to send the account customproperty value in there?

I had masked the username and password.

 

sudheera
New Contributor
New Contributor

can anyone please provide the suggestions here

"acctEntParams": {
"connection": "acctAuth",
"entTypes": {
"Access-Role": {
"call": {
"call1": {
"callOrder": 0,
"stageNumber": 0,
"processingType": "httpAcctToEnt",
"http": {
"httpHeaders": {
"Authorization": "${access_token}"
},
"url": "https://removed.com/awsdevtac/metaServlet?${new groovy.json.JsonBuilder([authPass:'tala', authUser: 'liv', userLogin: account.customproperty20, actionName: 'getUserInfo']).toString().bytes.encodeBase64()}",
"httpMethod": "GET"
},
"listField": "groups",
"entIdPath": "label",
"entKeyField": "entitlement_value",
"acctIdPath": "userId",
"acctKeyField": "accountID"
}
}
}
}
}


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Hi,

You had shared the same json which i used , i did not see any changes.