About GitLab
The GitLab connector reads project metadata, group membership, branch protection, CI/CD configuration, and (where your plan and token allow) audit-oriented events from your GitLab.com group or self-managed instance. Data appears as artifacts in Iru Compliance for mapping to actions and controls. Iru sends credentials using GitLab’sPRIVATE-TOKEN header - typically with a personal access token so reads can span the groups and projects you choose.
How It Works
GitLab’s REST API authenticates with thePRIVATE-TOKEN header:
| Detail | Value |
|---|---|
| Category | Developer tools / source control |
| Authentication | PRIVATE-TOKEN header (personal access token recommended) |
| Hosting | GitLab SaaS or self-managed |
Prerequisites
- GitLab access to the groups and projects compliance cares about.
- Group Owner or Maintainer where you need membership and audit-style reads (exact needs depend on your controls).
- For self-managed GitLab, confirm Iru targets your instance base URL (not only
gitlab.com).
| Scope | Purpose |
|---|---|
read_api | Broad read access to API endpoints used for inventory and configuration evidence |
read_repository | Repository metadata aligned to branch protection and repo settings |
read_user | User profile reads needed for membership evidence |
Connect GitLab to Iru
- GitLab
- Iru Compliance
Complete this tab before you connect the source in Compliance.
Sign in to GitLab
Open your GitLab instance (gitlab.com or self-managed URL) and sign in with a user who can create personal access tokens for the namespaces Iru should read.
Open your profile
Select your avatar in the upper-right, then choose Edit profile (or Preferences on some versions).
Open Access Tokens
In the left sidebar of your profile, select Access Tokens (sometimes under User settings → Access Tokens).
Set name, expiration, and scopes
Enter a name (for example Iru Compliance). Set an expiration (GitLab requires one; maximum duration may be limited by your administrator). Choose the read scopes listed under Prerequisites in this article.
Continue on the Iru Compliance tab.
Troubleshooting
Nothing opens when you turn the source on
Nothing opens when you turn the source on
Check pop-up blocker settings for the Iru site and try again.
401 Unauthorized
401 Unauthorized
403 Forbidden
403 Forbidden
Increase scopes or elevate project/group role - your token cannot read endpoints your account cannot access.
Self-managed URL issues
Self-managed URL issues
Ensure the integration points at your instance hostname and that network paths allow Iru’s outbound calls.
Missing audit-class events
Missing audit-class events
Some audit APIs require Premium/Ultimate features - compare your GitLab tier to the evidence your framework expects.
Considerations
Tokens expire on a schedule: rotate early and update…
Tokens expire on a schedule - rotate early and update the connector.
GitLab applies rate limits; large groups may take…
GitLab applies rate limits; large groups may take longer during first sync.
Iru reads configuration exposed by the API: it does…
Iru reads configuration exposed by the API - it does not rewrite pipelines or repository settings.
Related Articles
Sources Management
Browse and manage every Compliance source.
Getting Started With Compliance
Frameworks, actions, and Artifacts.
Iru Overview
How Endpoint, Compliance, and Identity fit together.
Artifacts Management
Upload, review, and organize evidence from sources and actions.
