Connect to GitLab Data in ACL Analytics
ACL Analytics, part of Diligent HighBond, is a powerful data analysis software primarily used for audit, risk management, and compliance. It enables professionals to examine and analyze large volumes of data to identify anomalies, trends, and potential risks or fraudulent activities.
CData Connect AI offers a dedicated cloud-to-cloud interface for GitLab, enabling analytics directly from live GitLab data within ACL Analytics, all without the need for data replication to a native database. With its inherent optimized data processing capabilities, CData Connect AI efficiently channels all supported SQL operations, including filters and JOINs, directly to GitLab. This leverages server-side processing to swiftly deliver the requested GitLab data.
Configure GitLab Connectivity for ACL Analytics
Connectivity to GitLab from ACL Analytics is made possible through CData Connect AI. To work with GitLab data from ACL Analytics, we start by creating and configuring a GitLab connection in CData Connect AI.
- Log into Connect AI, click Sources, and then click Add Connection
- Select "GitLab" from the Add Connection panel
- Enter the necessary authentication properties to connect to GitLab.
Enter the necessary authentication properties to connect to GitLab.
To connect to GitLab, use either OAuth or a personal access token:
Using OAuth
Register an OAuth application in GitLab under Edit Profile > Applications (or group Settings > Applications). Set the Redirect URI to https://oauth.cdata.com/oauth/. Note the Application ID (OAuth Client Id) and Secret (shown once). Then set:
- OAuth Client Id: The Application ID from your GitLab OAuth application.
- OAuth Client Secret: The Secret from your GitLab OAuth application.
Click Sign In to complete OAuth authentication.
Using a Personal Access Token
In GitLab, navigate to Edit Profile > Access Tokens > Add new token. Select the required scopes (such as api, read_api, read_user, read_repository) and set an expiration date. Copy the token immediately (shown only once). Then set:
- API Key: The personal access token from your GitLab account.
- Click Save & Test
-
Navigate to the Permissions tab in the Add GitLab Connection page and update the User-based permissions.
Add a Personal Access Token
When connecting to Connect AI through the REST API, the OData API, or the Virtual SQL Server, a Personal Access Token (PAT) is used to authenticate the connection to Connect AI. It is best practice to create a separate PAT for each service to maintain granularity of access.
- Click on the Gear icon () at the top right of the Connect AI app to open the settings page.
- On the Settings page, go to the Access Tokens section and click Create PAT.
-
Give the PAT a name and click Create.
- The personal access token is only visible at creation, so be sure to copy it and store it securely for future use.
With the connection configured and a PAT generated, you are ready to connect to GitLab data from ACL Analytics.
Connect to GitLab from ACL Analytics
The steps below outline connecting to CData Connect AI from ACL Analytics to create a new GitLab data source. The CData Connect AI Virtual SQL Server allows you to establish a connection to your data from integration tools that support connections to SQL servers. The Virtual SQL Server mimics the behavior of a traditional SQL server, and it supports a range of query options.
- With your Analytics File open, select 'Import' --> 'Database and application'
- Create a new SQL Server connection
- Set the connection information
- Server: tds.cdata.com
- Port: 14333
- Auth Scheme: Password
- Username: a Connect AI user, for example, [email protected]
- Password: the PAT for the above Connect AI user
- Database: the name of your GitLab connection, for example, API1
- Click "Test Connection"
- Click "OK"
- You are now ready to work with your GitLab data in ACL Analytics!
Live connections to GitLab data from your applications
ACL Analytics can now connect to live GitLab data directly through Connect AI, allowing you to analyze GitLab data without duplicating it.
To get live data access to hundreds of SaaS, Big Data, and NoSQL sources directly from your applications, try CData Connect AI today!