Gitlab
GitLab is a comprehensive DevOps platform and web-based Git repository manager that provides source code management (SCM), continuous integration/continuous deployment (CI/CD), and collaborative software development capabilities. It serves as a complete solution for the entire software development lifecycle, from project planning and source code management to CI/CD, monitoring, and security.
| Category | Source control & CI/CD |
| Direction | Query source |
| Sign-in | Access Token |
| Query languages | SQLite |
| Website | gitlab.com |
Before you start
Huntbase signs in to Gitlab with Access Token. Create the credential in Gitlab first, then keep it to hand for the Connect step.
- In GitLab, select your avatar in the upper-right corner and select Edit profile.
- In the left sidebar, select Access › Personal access tokens.
- From the Generate token dropdown list, select Legacy token.
- Enter a Token name and an Expiration date, and select the
read_apiscope. - Select Generate token and copy the token. You can't view it again after you leave or refresh the page.
Permissions:
read_api
- The
apiscope grants full read and write access.read_apiis enough for querying.
For the vendor's own instructions, see GitLab personal access token documentation.
Use a dedicated, read-only credential for Huntbase where the product allows it. Huntbase only needs to read.
Connect Gitlab
- Go to Connections and click New connection, or click New connection on the Gitlab product page.
- On Product, pick Gitlab and choose the Owner.
- On Details, give the connection a Name and, optionally, a Description.
- On Connect, fill in the settings and credentials described below.
- On Verify, review the summary and click Create & check.
For everything else on the setup page — saving a draft, I'll do this later, and what each check result means — see Connections.
Settings
Where your Gitlab lives:
| Field | Required | Notes |
|---|---|---|
| Base URL | No | Only for self-managed GitLab. Use your instance's API URL, including /api/v4, such as https://gitlab.company.com/api/v4. Leave blank for GitLab.com. |
Credentials
The only Method is Access Token. Enter a Credential label (for example Production), then fill in:
| Field | Required | Notes |
|---|---|---|
| Access Token | Yes | Secret — not shown again after you save it. |
Query it
Once connected, Gitlab can serve these languages in a query tab, and Scout can use it when you ask in Auto:
| Language | Use it for |
|---|---|
| SQLite | SQL across this source and every other connected source. |
Next steps
- Connections — health, credentials and settings after you connect
- Query languages — syntax, parameters and time ranges
- Chatting with Scout — ask questions without writing a query
- All integrations — the rest of the catalog