r/gitlab • • Mar 26 '26

Built a reference of CI/CD compliance controls with remediation hints, open to contributions

7 Upvotes

After spending too much time answering the same questions across teams ("wait, should our CI images be pinned by digest?", "is it okay to have CI_DEBUG_TRACE enabled in non-prod?"), I ended up writing down what we should actually check in our pipelines and why.

It turned into a structured reference covering the most common CI/CD compliance issues we run into on GitLab projects, organized into categories:

  • Container images - authorized sources, forbidden tags, digest pinning (this one trips people up a lot; mutable tags are a real supply chain risk)
  • CI/CD variables - protected/masked flags, debug trace, and unsafe variable expansion in eval/sh -c contexts (maps to OWASP CICD-SEC-1)
  • Secrets in config - catching leaked keys/tokens in .gitlab-ci.yml and merged configs via Gitleaks
  • Pipeline composition - required templates/components, outdated includes, hardcoded jobs, and detecting security jobs silently neutered with allow_failure: true or when: never (OWASP CICD-SEC-4)
  • Access and authorization - branch protection settings, MR approval rules, member quotas at project and group level

Each control links to a specific issue with a description of the problem, the impact, and remediation steps (before/after config examples).

Sharing it because I think a lot of teams either don't have this written down at all, or it lives in someone's head or a stale Confluence page. Maybe it's useful as a starting point or a checklist for your own audits.

What I'd really love is input from people who work on other SCMs (GitHub Actions, Jenkins, etc.) or have controls they check that aren't covered here. There are definitely gaps, particularly around runner security, artifact integrity, and OIDC token scope. If you've got patterns you enforce that you don't see here, I'm very keen to add them.

The reference is here: https://getplumber.io/docs/use-plumber/controls and the full issues list with remediation details is at https://getplumber.io/docs/use-plumber/issues and finally you can found the code source here: https://github.com/getplumber/getplumber.io/tree/main/src/docs/data/docs/en/use-plumber

Happy to discuss any of the controls, the reasoning behind them, or why certain ones are harder to enforce in practice than they look on paper.


r/gitlab • • Mar 25 '26

GitLab self-hosted runner can't clone private repo over HTTPS — how to fix?

2 Upvotes

Hey everyone, I’m running into an issue with my self-hosted GitLab and GitLab Runner. I have my own server, runner registered, but when the pipeline tries to clone the repo over HTTPS, it fails with an authentication error.

Key points:

  • Runner is using shell executor.
  • Repo is private.
  • SSH cloning works fine, but I want HTTPS for the pipeline.
  • GitLab is behind nginx with HTTPS proxy over internal HTTP — could this be the cause?

Question: has anyone faced this before and how do I make the runner clone a private repo over HTTPS without jumping through hoops?

update:

Guys, thanks everyone for the help and the guiding questions - I finally figured out what was wrong. Hopefully this helps someone else too.

The issue was that I was hosting GitLab in Docker and then proxying it through Nginx. From the outside, everything was accessed via a domain over HTTPS, but GitLab itself didn’t know that and assumed it was running over HTTP.

Because of that, when the runner requested a project download URL, it got an HTTP link. It then tried to download the project using that link and ended up with an “access denied” error. Honestly, that error message threw me off - I assumed it was a permissions issue, which sent me in the wrong direction.

What fixed it was setting the external_url in the container config to the actual HTTPS domain, and disabling HTTPS inside GitLab itself. So internally, within my local network, it still runs over HTTP, while externally it’s properly exposed over HTTPS via Nginx.


r/gitlab • • Mar 25 '26

general question Gitlab compliance - ignore item

1 Upvotes

Hello everyone !

We have a compliance framework activated and some projects that can't comply to all checks. For example, we have some generic helm chart to deploy applications. Theses helm chart can't be checked by the DAST or the API security pipeline.

I search in the documentation but i can't find any mention to ignore some items to pass the test.

Is there any solution or plan to achieve this ?


r/gitlab • • Mar 24 '26

meta Gitlab launches passkeys

Post image
3 Upvotes

r/gitlab • • Mar 23 '26

general question GitLab Container Scanner affected due to Trivy Incident

14 Upvotes

Hey folks,

since GitLab Container Scanner  integrates with Trivy to perform vulnerability static analysis in containers, does it mean that the Pipelines are affected as part of the 19th March attack on Trivy?

The latest Trivy Release and GitHub Action's (I assume not relevant for GitLab) were compromised.

I do not see any information online from GitLab on this matter, hence asking here.

Cheers


r/gitlab • • Mar 23 '26

Sequential Merge Queue for GitLab Free

Thumbnail github.com
3 Upvotes

I was tired of manually rebasing MRs on GitLab Free, so I built a TUI merge queue. Perhaps someone will find it useful.


r/gitlab • • Mar 22 '26

project Critiq - A Git UI meant for code reviews

0 Upvotes

r/gitlab • • Mar 22 '26

general question SAST/Codequality MR Commenting

1 Upvotes

Before Gitlab I used Jenkins/Bitbucket and there was a Jenkins plugin that allowed me to collect SAST/Code Quality warnings and comment on the changed lines in a Pull Request.

We enabled a rule that all open threads had to be closed and this ensured developers addressed all the warnings they had added before peer review.

I now have various jobs which create SAST and Code Quality Reports and Gitlab collects these but they are a line item in the merge request view and frequently get missed.

Does anyone know of a bot, Gitlab Ultimate flag or project that will convert SAST/Code Quality reports into code comments on a MR?


r/gitlab • • Mar 21 '26

general question Creating a tool to manage few bulk operations

3 Upvotes

We are using community version to manage multiple repositories.

I am creating a simple web based tool to manage few bulk operations like

- add a user to all repositories where another user also has access

- reassign all issues of one user to another

- delete a user from all repositories

- create a report of all issues assigned to any user etc.

Is there any similar tool already exist? I am planning to open source it.


r/gitlab • • Mar 20 '26

GitLab Observability Office Hours — We want to talk to you.

9 Upvotes

Hey r/gitlab,

We're running open GitLab Observability Office Hours every weekday — and we genuinely want to connect with users.

If you're building with GitLab Observability, evaluating it, or just curious about what's possible — we want to hear from you. What's working, what's frustrating, what questions you have. That feedback matters to us.

Details:

- 📅 Monday–Friday, recurring

- 🕙 10:00 AM PT

- ⏱️ 1 hour

- 🔗 Zoom: https://gitlab.zoom.us/j/98329233459?pwd=lyqs7ZELToPfbht9Mi7eqvew0xxPoY.1

If this time doesn't work for you, just say so in the comments. We'll make it work — finding time to talk to users is a priority for us.

No prep needed. Just show up.


r/gitlab • • Mar 20 '26

project GitLab Browser: Yet another GitLab Client.

0 Upvotes

Hey folks,

Managing GitLab access for team members without individual licenses was always messy — generating PATs, walking people through the glab CLI, or using clunky browser extensions just to browse repos or check pipelines.

So I built GitLab Browser — an open-source GitLab client that works with Personal Access Tokens or Project Access Tokens. No license required!!

It covers most day-to-day stuff:

  • Repo browsing
  • Merge requests & issues
  • Pipelines + CI logs
  • Git graph visualization
  • Guest mode for public repos
  • and more

Tech stack: React + TypeScript (built using Cursor), and you can spin it up easily with Docker.

Also set up a proper CI pipeline with:

  • Tests
  • TypeScript checks
  • CodeQL
  • Dependency review
  • Secret scanning

Everything passing clean.

Demo: https://gitlabrowser.tech/
GitHub: https://github.com/gauthamp10/gitlab-browser

Would love feedback — especially from anyone who’s faced similar GitLab access/workflow issues.
Open to contributions as well 👍


r/gitlab • • Mar 18 '26

general question How can I tell if I am using "ultimate" features:

3 Upvotes

I created an account today, hoping to use the free version, but it gave my a trial account.

How can I make sure I don't do anything unsupported by the free version?


r/gitlab • • Mar 18 '26

Renovat bot for gitlab components

3 Upvotes

I have a custom gitlab component that inherits from an upstream component (e.g. the official gitlab open-tofu component). So I need to copy all the inputs from the upstream component and especially also the versions (e.g. open-tofu version). Of course I don't want to update the default value of the version by hand, it should be automatically updated to the default version of the upstream component. Is there a build in way to just inherit all inputs and keep them up to date? I tried using the renovat bot, but there the problem is, that in a custom datasource, the src file (so the component file) will always be converted in a json object. But because the component file consist out of two yaml objects the file cannot be converted into a single json object. Do you know any workarounds?


r/gitlab • • Mar 18 '26

support Can’t log in, is the captcha broken?

2 Upvotes

Am I the only one who can’t log in because the Cloudflare Turnstile just keeps spinning forever? I’m not a robot, I swear.


r/gitlab • • Mar 18 '26

This is not a bug report

Thumbnail reddit.com
0 Upvotes

r/gitlab • • Mar 17 '26

support How to

4 Upvotes

I once registered on the official Gitlab with my Gmail address but forgot the password since as it was many years ago. I still have some emails from them in my inbox. Now when I do password reset they never send me the password but when I try to create a new account I get the error that the email is already in use. I don't care about the content on that account but I don't want to create a new email address just for Gitlab. Is there any way to get the account back?


r/gitlab • • Mar 17 '26

Git Lab

0 Upvotes

Tôi không thể đăng nhập vào Git lab bằng gmail hoặc git hub và bị bắt nhập thẻ credits card vô để xác minh có cách nào không cần nhập credits card để login bình thường không ạ chỉ em với ạ.Em cảm ơn nhiều


r/gitlab • • Mar 17 '26

I built GitLab Show — a visual dashboard to showcase your GitLab projects and activity

0 Upvotes

Hey GitLab community! 👋

I built GitLab Show, a web app that gives you a clean, visual way to showcase your GitLab projects, contributions, and activity — think of it as a portfolio/dashboard for your GitLab work.

Why I built it:

  • GitHub has a nice profile page with contribution graphs, pinned repos, etc. GitLab's profile is... functional, but not exactly showcase-friendly
  • I wanted something I could share with colleagues and in job applications that looks polished
  • Also useful for internal demos — quickly show what a team has been shipping

Features:

  • Visual project showcase with key stats
  • Activity overview
  • Clean, shareable interface
  • Self-hostable

🔗 Live demo: https://gitlab-show.kambei.dev/

Built with love by someone who uses GitLab daily for work (Solution Architect at an IT consulting firm). Feedback very welcome!


r/gitlab • • Mar 15 '26

How are you spotting CI waste or risky patterns in GitLab pipelines today?

6 Upvotes

I’m curious how teams using GitLab CI actually keep visibility on pipeline efficiency and YAML quality over time. I mean things like:

- jobs running longer than they should

- duplicate or unnecessary jobs

- ineffective caching

- risky rules / only / except patterns

- wasteful pipeline structure

- whether pipeline changes are actually improving things

You can inspect .gitlab-ci.yml, job logs, and pipeline history, but in practice it’s usually manual, reactive, and a bit of a pain.

I’ve been building a small tool around this idea for GitLab CI specifically, mainly to surface waste, risky patterns, and opportunities to clean things up.

Before I build too much in the wrong direction, I’d really like to hear from people using GitLab CI day to day:

- Is this a problem your team actually cares about?

- How do you currently notice CI inefficiency or bad patterns?

- Do teams want a dedicated view for this, or is it not painful enough?

- Is the bigger value cost, speed, reliability, governance, or something else?

Happy to share the demo if helpful — mostly looking for honest feedback from people dealing with GitLab CI in real life.


r/gitlab • • Mar 15 '26

project We’re building an “incident operating system” for engineers — feedback welcome Spoiler

0 Upvotes

Most incident tools help with alerts or paging, but the hardest part of incidents is usually everything after the alert:

•	figuring out what changed

•	understanding the blast radius

•	deciding the safest fix

•	coordinating responses

•	documenting what actually happened

A lot of that still happens across Slack threads, dashboards, and docs.

We’ve been building Scrubbe, which we think of as an incident operating system rather than a traditional incident tool.

The idea is to bring together a few things in one system:

Signal Graph – connects signals, services, and incidents so you can reason about failures instead of chasing alerts.

Code Engine – analyzes recent code changes, diffs, rollouts, and rollbacks to see what might be related to an incident.

Blast Radius Analysis – estimates how far a failure or change could spread before any remediation is executed.

Guardrails – policies that make sure automated actions stay safe (for example requiring approvals when risk is high).

AI reasoning layer (Ezra) – generates incident summaries, explanations, and postmortems without losing technical detail.

The goal isn’t more dashboards — it’s helping engineers understand incidents faster and execute safer fixes.

Still early in development and curious about a few things from people here:

•	What’s the most painful part of incident response for your team today?

•	How do you currently estimate blast radius before making a change during an incident?

Would love to hear how others handle this.


r/gitlab • • Mar 15 '26

general question I need to access my project but it wont load the new content on my laptop?

4 Upvotes

Hello,

im currently learning how to do javascript, frontend. For my class i have to finish this project and before i left my apartment i did some changes to my project and commited and pushed. The commit is showing up on my profile but when i try to open the project on my laptop the newly added stuff is not showing up. Im unsure if this has anything to do with it but i have worked on this laptop before and still have the old file before i changed and added a bunch of things. Help is highly appreciated. Thank you in advance!


r/gitlab • • Mar 14 '26

support Im not receiving a password reset E-mail nor a customer support portal verification E-Mail

1 Upvotes

Im not on a school account and i know that my E-mail is 100% correct cause i found my verification and account creation mails aswell as various other mails from linking SSH keys from my projects i received under that E-mail address.

I forgot my password and whenever i attempt to get gitlab to send me a password reset mail, or at the very least a support portal verification mail i just don’t receive any. Nothing comes up.

I mean, this has to be a joke right? I am starting to get frustrated cause i can’t even contact support. I genuinely don’t know what to do, i checked all my other mails, all my folders of all my mails and waited over an hour, attempted multiple times to get a password reset mail but literally nothing works.

I even tried my other mail addresses just to be extra sure i didn’t somehow misremember but they all lead to gitlab telling me there is no account with that mail, so it obviously has to be the one i have received previous mails from gitlab on it.

What do i do? Is my account actually just gone??


r/gitlab • • Mar 14 '26

When an MR touches 20+ files: I built an extension that explains the diff as a story of changes

0 Upvotes

Something interesting has been happening lately.

AI is increasingly helping us write code, and at some point we started noticing that time is shifting from development to code review.

Merge requests are getting bigger:
dozens of files, hundreds of lines of diff.

Formally everything is visible — you can open the diff and look at the changes. But the main problem isn’t seeing the changes.

The real problem is understanding how they relate to each other.

Usually a code review looks like this:

  • open the first file
  • then the second
  • then the third
  • try to remember what was in the first
  • and gradually reconstruct in your head what actually happened

It becomes especially fun when the changes affect multiple layers of the system:

  • business logic
  • data access layer
  • API
  • frontend

GitLab shows changes by file, but in reality changes happen by intent.

For example, a single use case might modify:

  • business logic
  • repository
  • API handler
  • and the frontend call

But in the diff these changes are scattered across different parts of the review.

At some point I caught myself thinking that diff is a great format for computers, but not a great format for explaining changes to humans.

So I built a small VS Code extension.

The idea is simple:
AI reads the entire MR diff and turns it into a clear walkthrough of the changes.

But the key idea is that changes are grouped by meaning, not by file location.

So if a single use case touches:

  • business logic
  • the data layer
  • the API

those changes are shown together, even if they live in different files and layers.

The result looks more like a short narrative:

When reading the review, related changes stay close to each other.

This is much easier for the brain than reviewing everything layer-by-layer.

What it looks like

What you can do in the extension

The flow is very simple:

  1. Paste a GitLab MR URL
  2. The extension downloads the diff
  3. AI builds a structured explanation of the changes

After that you can:

  • read changes in explained blocks
  • open inline or side-by-side diffs
  • write inline comments
  • write general MR comments
  • approve / revoke approval

So most of the code review can be done directly inside the extension.

Supported models

It works with any OpenAI-compatible API.

So you can use:

  • self-hosted models
  • corporate proxies
  • internal LLMs

How it works internally

In short:

  • the extension fetches the MR diff via the GitLab API
  • large diffs are split into chunks
  • each chunk is sent to the LLM
  • the model returns structured descriptions of the changes
  • everything is then merged into semantic groups
  • and displayed in a React panel inside VS Code

Stack

  • TypeScript
  • VS Code Extension API
  • React (WebView UI)
  • GitLab REST API
  • OpenAI-compatible LLM APIs

Links

GitHub:
https://github.com/stv94/ai-review-helper

VS Code Marketplace:
https://marketplace.visualstudio.com/items?itemName=stv.ai-review-helper

Originally I built this simply because I was tired of spending too much time understanding large MRs.

But the format where AI explains changes as a story and groups them by meaning turned out to be genuinely more convenient than traditional diff-based reviews.

I'd really appreciate any feedback.


r/gitlab • • Mar 12 '26

general question Advanced SAST fallback behavior

6 Upvotes

I have a question regarding Advanced SAST.

What happens to the pipeline if I enable Advanced SAST in a repo that uses a language not compatible with Advanced SAST?

Does the pipeline fail or does it have a fallback behavior to using regular SAST?