Let Oomnitza be your single source of truth!
You'll get visibility of your GitHub users as data from GitHub is automatically transformed into consumable information and actionable insights.
Connect Oomnitza and GitHub in minutes
Get the information and insights that you need to reduce costs and the time that you spend on administration tasks such as:
- Configurable dashboards and list views of key user information
- Configurable reports to share information about users with your colleagues and management
- Configurable workflows for adding and deleting users
Navigation
Add credentials to the vault in Oomnitza
Creating a workflow using the GitHub Member Role preset
Creating a workflow using the GitHub Remove Member from Org preset
Before you start
To stream GitHub user data into Oomnitza, you must add your GitHub OAuth 2.0 credentials to the vault in Oomnitza.
Follow the documentation links below to create an OAuth2.0 app and retain your Client ID, Client Secret and Scope for your credential setup within Oomnitza (Step 8)
Documentation:
GitHub Authentication: Overview
GitHub Authentication: Building OAuth2.0
GitHub API: Scopes. The scope required for User Role and Deactivate User is
admin:org
GitHub API: Authorizing OAuth2.0 Apps
Best practice
For the integration with Oomnitza, create a dedicated user account in GitHub. The user account that you create must have create, read, update, and delete privileges.
Add credentials to the vault in Oomnitza
To authorize connections between Oomnitza and GitHub, complete these steps:
- Log into Oomnitza.
- Click Configuration > Security > Credentials, and then click Add new credential (+).
- Add the information details.
- Click the AUTHORIZATION tab.
- For the authorization type, select OAuth 2.0.
- From the SaaS list, select GitHub.
- Enter the Client ID, Client Secret, and Scope.
- Click Authenticate and log into GitHub to authorize the request.
- Enter a Description to help you identify the credential (optional).
- Click CREATE.
You use the credentials that you added to create and customize your GitHub integration with Oomnitza.
Creating the user integration
Info and connect details
- From the menu, click Configuration > Integrations > Overview.
- Click Integrations List View
.
- On the Integrations page, scroll down to the Extended section for User Integrations.
- Click NEW INTEGRATION.
- In the New User Integration sidebar, click GitHub.
- Click APPLY next to the GitHub User Load, and then click NEXT twice.
Connect page
Best practice
To ensure that only live user records are streamed to Oomnitza, choose Update only as your integration preference. When you run the integration, you can check the error logs to see which user records weren't uploaded and why they weren't uploaded. You can then decide whether to upload the user records that were skipped by changing your integration preference to create and upload. See Access error logs.
On the connect page, complete the following steps to connect the integration:
- Enter a descriptive name for the integration such as GitHub User Load. This name will be displayed on the Integrations page once the setup is complete.
- From the User Selection list, select User plus SaaS User or User only.
- If you select User plus SaaS User and you have multiple instances of the same SaaS application, select the application from the SaaS Selection list. If you have a single instance of the SaaS application, skip this step.
- From the Installation type list, select Cloud.
- From the Credentials list, select your credentials.
- From the Integration Preferences list, select Update only.
- Enter the name of the user of the integration.
- Enter the GitHub Organisation ID.
- Click Next.
Mappings
Map the GitHub fields to Oomnitza fields and create custom mappings to get the user information that you need.
Complete these actions:
- Create custom mappings to map any other field that you want to add to Oomnitza:
- Click the down arrow on the field that you want to map.
- Select Add new Oomnitza users field.
- Change the name of the field.
- Click CREATE.
- Assign a sync key.
- Click NEXT.
Note: For all user loads, it is recommended that you map role information to an employee role in Oomnitza. Users need to have an employee role defined in order to access Oomnitza. If the role information is not available from the user load, it is recommended that you select Employee from the Oomnitza Role dropdown list. You have the option to overwrite this at a later point should the role information become available.
Standard GitHub to Oomnitza mappings
The following GitHub fields can be mapped to Oomnitza:
Id
Name
User type
Email
Login Name
Location
Site Admin
Connector Sync Time
Want to map more fields to Oomnitza?
Contact Support, or see Mapping extended connectors.
When you've completed mapping the GitHub to Oomnitza fields, click NEXT.
Schedule
By default, user data is streamed to Oomnitza once every day.
You can configure the schedule to meet your needs such as changing the interval or changing the time so that the data is streamed when your system isn't busy.
- Configure your schedule.
- Click FINISH.
Result
A new tile is created for the integration on the Integrations page.
What to do next
If you want to see the information that is collected now, click the tile on the Integrations page and click RUN NOW.
If you want to change the integration settings, you can click a navigation link on the page, such as 4 Mappings, and edit the settings.
Creating user workflows
Creating a workflow using the GitHub Member Role preset
You can create a Saas User workflow in Oomnitza using the GitHub Member Role preset. As GitHub does not currently provide the Last Login date/time, the GitHub Member Role preset can be used to provide you with confirmation of users that are actively using GitHub in your environment. All users that are confirmed as being part of your GitHub integration will appear as a User in the Role column of the SaaS Users UI.
To create a Saas User workflow using the GitHub Member Role preset, complete the following steps:
- Click Configuration > Workflows > Saas Users from the menu.
- Click Add (+). The Begin and End blocks are automatically added to the sandbox.
- Enter the name and a description of the workflow.
- Edit the Begin block by adding the rules that will trigger the workflow. For further information see SaaS User Roles.
- Click the Blocks tab, and drag and drop the SaaS User Role retrieval block onto the canvas.
- Click the Edit icon.
- Enter GitHub in the search field and choose the GitHub Member Role preset.
- Click the right arrow >.
- Enter your Credentials.
- Enter the GitHub Organisation ID.
- Select the Deactivate User checkbox to deactivate the SaaS user in the Oomnitza system if they are not found in your GitHub instance.
- Click SAVE.
- Connect the blocks.
- Validate, launch, and save your workflow.
To view active GitHub users in the SaaS Users UI, complete the following steps:
- Click Software from the menu.
- Select the Saas tab, and select your software entry for GitHub.
- In the GitHub window, select the Users tab.
- The Role column will be populated with the name User to confirm that this user has been found in your GitHub SaaS.
Creating a workflow using the GitHub Remove Member from Org preset
You can create a Saas User workflow in Oomnitza using the GitHub Remove Member from Org preset. This preset automatically removes a GitHub user account from your GitHub SaaS that was initially deactivated in Oomnitza.
To create a Saas User workflow using the GitHub Remove Member from Org preset, complete the following steps:
- Click Configuration > Workflows > Saas Users from the menu.
- Click Add (+). The Begin and End blocks are automatically added to the sandbox.
- Enter the name and a description of the workflow.
- Edit the Begin block by adding the rules that will trigger the workflow. For further information see SaaS User Roles.
- Click the Blocks tab, and drag and drop the API block onto the canvas.
- Click the Edit icon.
- Enter GitHub in the search field and choose the GitHub Remove Member from Org preset.
- Click the right arrow >.
- Enter your Credentials.
- Enter the GitHub OrgID (Organization Id).
- Click SAVE.
- Connect the blocks.
- Validate, launch, and save your workflow.
Further informationUnderstanding workflows
Workflow block overview
Unleash the power of Oomnitza
To get valuable actionable insights that help you manage your assets, learn how to:
-
-
- Configure dashboards for your users and software
- Configure custom reports about your users and software
- Create workflows to automate tasks
-
See Getting started
Comments
0 comments
Please sign in to leave a comment.