Back to Gitlabhq

Improved secret detection coverage for feature branch pipelines

doc/releases/19/gitlab-19-1-released/secret-detection-coverage-non-default-pipelines.md

19.1.0751 B
Original Source
<!-- categories: Secret Detection -->

In GitLab versions earlier than 19.1, you couldn't trust a feature branch pipeline to surface every secret in your branch. A new branch scanned only the latest commit. An existing branch scanned only your most recent push. A credential leaked in an earlier commit could sit undetected, reaching shared branches or production before being flagged.

Now you can catch those secrets where they're cheapest to fix. In GitLab 19.1, secret detection scans every commit from the branch's divergence point with the default branch to the latest commit. That means fewer secrets slip through to later stages, less time rotating exposed credentials after the fact, and consistent, predictable coverage across your branches.