05/17/2023 10:03 AM
We have multiple organizations in Github and are listing the organizations when configuring the GithubRest connector.
However, ImportAccountEntJSON in the documentation link has a substitution variable to pass only a single organization. How can we configure Saviynt to go through the list specified in the Organization_list from the connector so it imports everything from the list and not only from one organization from the below API URL.
https://<DOMAIN>/orgs/<Org_Name>/members?per_page=100&page=1
05/22/2023 10:36 PM
Please try
"url": "https://test/api/v3/orgs/${id}/members?role=admin&per_page=1000&page=1",
05/23/2023 04:56 AM
@RakeshMG, Suggested API URL is for Enterprise Github. We are integrating with Github cloud and this API does not work on Github Cloud.
05/29/2023 10:07 PM
Hi @RV
We need to follow the steps mentioned in the section- Parameters for Creating Connection for GitHub Enterprise Version to integrate with the GitHub Enterprise Cloud(Multiple Organizations).
The product team is working on updating the Documentation to make it clearer with proper JSONs and it should be done in the next few days.
I am attaching the correct ConnectionJSON and the ImportAccountEntJSON that you need to use. Please replace the necessary values like Domain.
05/30/2023 04:42 AM
JSONs provided are for Enterprise version and not for Github Cloud Enterprise Version. Below endpoint is not available. Can you please check and provide the correct endpoint APIs for multiple organization imports ?
/api/v3/users?per_page=100
06/01/2023 05:51 AM
@prashantChauhan @RakeshMG I found another API that is not listed in the Saviynt documentation that will give me the list of orgs, however it does not have any accountID/name to associate to the Account in the colsToPropsMap. Can we use this call to get the list of orgs and then use the list to iterate the subsequent calls? Can you provide me any sample using the /orgs API to iterate the list of organization name and then use it in https://<DOMAIN>/orgs/<Org_Name>/members?per_page=100&page=1,
ORGS API : https://api.github.com/user/orgs
06/06/2023 12:56 AM
Hi @RV
Can you please create a Freshdesk support ticket for this issue so that our engineering team can investigate this and provide a solution either by fixing it in the GitHubREST OOTB connector or via the REST Connector?
Thanks.