What we check · GitLab
What we check in GitLab — and what we never read
Create a personal (or group) access token with only the read_api scope and paste it, with your server's address if it isn't gitlab.com. ShieldFlow can't push, comment or change a setting with it.
How results work
- Every failure names the exact thing — the repository, the account, the pull request — and gives the fix.
- If we can’t read something — a missing permission, more than we could read in one scan — the check says “can’t tell” and why. It never passes by default.
- Anything can be marked out of scope with a reason and a review date. The reason is kept as audit evidence.
- Checks marked “good to know” are shown but never raise an alert or hold back a framework.
People & access
- Groups require two-factor authentication
Whoever can push can ship to production; a stolen password alone shouldn't be enough.
GET /groups?top_level_only=true (require_two_factor_authentication)
Change management
- Default branches only change through merge requests
If anyone can push straight to the default branch, code reaches production without anyone else seeing it.
GET /projects/:id/protected_branches/:default_branch
- Merge requests need an approval from someone else
Protected branches force a merge request, but without a required approval the author can merge their own change.
GET /projects/:id/approvals · GET /projects/:id/approval_rules
- Every merged change was approved by someone else
This is the population an auditor samples for change management: each merge into the default branch, and who approved it.
GET /projects/:id/merge_requests?state=merged · GET /projects/:id/merge_requests/:iid/approvals
Project hygiene
- No public projects
A public project shows its code, history and issues to anyone. Open source on purpose is fine — mark it out of scope.
GET /projects (visibility)
- Force pushes are blocked on default branchesgood to know
A force push can rewrite history — including the record of who changed what.
GET /projects/:id/protected_branches/:default_branch (allow_force_push)
- Deploy keys that can pushgood to know
A deploy key with write access is a password that can push code without a merge request. Most only need read.
GET /projects/:id/deploy_keys
What we read
- Personal or group access token, read_api — projects, protected branches, approval rules, merged merge requests and their approvers, deploy keys, groups
What we never read or do
- Source code or files — only project settings, merge-request metadata and approvals.
- Write anything: read_api can't.