Skip to content
Get startedRequest a demo
Code repositories

GitLab

GitLab.com or GitLab Self-Managed.

Access mode: Read-only

Required information

FieldDetails
Instance URLhttps://gitlab.com or self-hosted URL.
Group / ProjectsGitLab group ID or list of project paths.
AuthenticationProject Access Token (preferred), Group Access Token, or Personal Access Token.
Access scoperead_repository, read_api.

Network considerations

GitLab.com: HTTPS over 443. No VPN needed.

Self-managed: VPN, IP allowlist, or public endpoint. Ensure /api/v4/ is routable.

Reverse proxy: If behind one, confirm API endpoints are not blocked.

Credential and auth management

Preferred: Project Access Token. Scoped to single project, read_repository only. No human user.

Preferred: Group Access Token. Covers multiple projects in a group. Good for broad access.

Acceptable: Personal Access Token. Tied to a user account.

Token expiry: Configurable. Set rotation reminders.

Validation checks

CheckMethodExpected result
AuthenticationGET /api/v4/user200 with identity
Project accessGET /api/v4/projects/<id>200 with project info
Repository readGET /api/v4/projects/<id>/repository/treeLists files
File contentGET /api/v4/projects/<id>/repository/files/<path>/rawReturns file content

Every connection starts from the pre-engagement checklist and goes through the universal validation protocol before production sign-off.