Overview
Connect your GitLab instance to give TierZero access to your repositories, merge requests, pipelines, and deployments. TierZero uses GitLab to correlate code changes with incidents and analyze CI/CD pipeline results.Prerequisites
- Administrative access to your GitLab group or instance
- Permission to create access tokens
Setup Instructions
Step 1: Navigate to Integration Settings
- Log into your TierZero dashboard
- Go to Settings → Integrations
- Click Connect next to GitLab
Step 2: Create an Access Token
- In GitLab, go to your group’s Settings → Access Tokens (or use a personal access token)
- Create a new token with the following scopes:
read_api: Read access to the APIread_repository: Read access to repository files
- Set an expiration date and click Create
- Copy the generated token
Step 3: Enter Credentials
- Paste the access token into TierZero
- Enter your GitLab instance URL (for self-hosted instances)
- Click Connect
What TierZero Accesses
- Repository contents: Code files, branches, and directory structure
- Commit history: Recent commits, diffs, and authors
- Merge requests: Open MRs, discussions, and CI results
- Pipelines: CI/CD pipeline runs, jobs, and logs
- Deployments: Deployment history and environments
Security
- TierZero uses scoped access tokens
- Read-only access to repositories and API
- Tokens are encrypted at rest
- Revoke access by deleting the token in GitLab
Troubleshooting
Repository Not Visible
- Verify the access token has the
read_apiandread_repositoryscopes - For group tokens, check that the repository belongs to the token’s group
- For self-hosted instances, ensure the GitLab URL is correct