GitLab

Restrict how your agents can use GitLab.

Require agents to confirm every push, or set up custom rules for automation.

GitLabOps agent · Acme GitLabkc_…c21e
PermissionAccessProjectsOnly when
Repository · Read
repository.read
Allowedacme/apiAny request
Repository · Push
repository.push
Allowedacme/api
git.ref starts with refs/heads/agent/
Merge requests · Create
merge_requests.create
Allowedacme/apiAny request
Merge requests · Merge
merge_requests.merge
Ask meWaits up to 24 hoursacme/apiAny request
Pipelines · Run
pipelines.run
Ask meWaits up to 24 hoursacme/apiAny request
Allowed goes straight throughAsk me waits for your confirmation
What you can control

Permissions

Each row of a key's GitLab access is one of these, set to Allowed or Ask me.

PermissionName in the API
Project details · Readproject.read
Repository · Readrepository.read
Repository · Pushrepository.push
Issues · Readissues.read
Issues · Createissues.create
Issues · Updateissues.update
Merge requests · Readmerge_requests.read
Merge requests · Createmerge_requests.create
Merge requests · Mergemerge_requests.merge
Comments · Readcomments.read
Comments · Createcomments.create
Pipelines · Readpipelines.read
Pipelines · Runpipelines.run
Projects · Listprojects.list
Users · Readusers.read
Custom rule: a method or git action (git fetch or git push) and a path that you choose.

Give your agents GitLab keys that fit.