08/29/2023
01:04 PM
- last edited on
08/30/2023
10:06 AM
by
Dave
Hi,
We are importing the repositories from GitHub Cloud as below and then the requirement is to map the Repo admins as entitlement owners in Saviynt(Here entitlement is the Repository).
We tried like below in 'acctEntParams':
Also tried below approach as suggested in Saviynt GitHub Connector documentation:
08/30/2023 02:02 PM
Let me check this.
08/31/2023 03:15 AM
@sahil Any updates on this?. I even tried importing a single repository and importing admins of that repo as owners. But this also didn't work.
08/31/2023 10:36 AM
You can refer to the attached template in order to config the JSON. Please make sure the below requirements are met before access import.
- User must be in active status.
- The ownerKeyField field defined in the JSON is a user attribute value and not of the account.
As an example, if we are taking email as the key field, then email value has to be present at the user level and the value of email should come as a response in the access import url.
09/01/2023 01:18 AM - edited 09/01/2023 02:04 AM
@sahil In our case, the owner details are not coming in the access(Repo) import API. It is coming in the accntEntParams API. So, I think this approach won't work:
"entOwnerMappings": { "listField": "", "idPath": "owner", "keyField": "email" }
How do we import the entitlement owners when the owner details are coming the accntEntParams API?.
We are using the below call in accntEntParams API to get the repo admin details and these repo admins need to be assigned as the owners for that particular repo entitlement type.
Thanks.
09/03/2023 03:39 AM
I have tried all the options suggested in Saviynt docs. The owners are not getting assigned for Repositories.
It is important for us to assign the Repository admins as owners because only then we can proceed with User Access Reviews.
Should I proceed with raising a Freshdesk Support Ticket?. Please advice.
Thanks,
Atul Singh
09/05/2023 08:36 AM
You need to use the format as below to define the path where the owner information is coming as part of the api call. Please not the keyField is not an account's value but will be a user's filed value. That means this value has to be present at the User's profile level in Saviynt and not the one assigned to its account.
"entOwnerMappings": { "listField": "", "idPath": "owner", "keyField": "email" }
If it is still not working for you, can you share the postman response of the call where we get the owner's information. Also mention the field in the response that tells us about the owner info.
09/05/2023 10:57 AM - edited 09/05/2023 11:09 AM
Below are the calls for 'Repository' entitlement type inside 'accntEntParams'.
09/13/2023 12:43 PM
In that case, you can add entOwnerParams section after acctEntParams. This example is also available in the REST documentation in case you want to see the full JSON.
https://docs.saviyntcloud.com/bundle/REST-v2022x/page/Content/Developers-Handbook.htm