Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Github - Multiple Organizations import

RV
Regular Contributor
Regular Contributor

We have multiple organizations in Github and are listing the organizations when configuring the GithubRest connector.

RV_0-1684342777709.png

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

 

 

6 REPLIES 6

RakeshMG
Saviynt Employee
Saviynt Employee

Please try 

"url": "https://test/api/v3/orgs/${id}/members?role=admin&per_page=1000&page=1",


​Regards

Rakesh M Goudar

RV
Regular Contributor
Regular Contributor

@RakeshMG,  Suggested API URL is for Enterprise Github.   We are integrating with Github cloud and this API does not work on Github Cloud.  

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.

 

RV
Regular Contributor
Regular Contributor

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

RV
Regular Contributor
Regular Contributor

@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

prashantChauhan
Saviynt Employee
Saviynt Employee

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.