An attacker can run pipeline jobs as arbitrary user
A mirrored project with pipeline triggering enabled could run pipelines as a different user after the original owner deleted their account, allowing an attacker to execute jobs with the victim's CI_JOB_TOKEN and access private resources.
- Triaged in 2 hours
- Fixed in 10 days
- Paid in 10 days
- Disclosed after 3 months
Summary
An attacker can run arbitrary pipeline jobs as a victim user. This means the attacker can access the user private repositories, member only repositories, registry, etc... by using the victim CI_JOB_TOKEN token.
This is only my recent research and I wanted to report it as soon as possible. I will update the report with more information later on.
Steps to reproduce
VICTIM:
- Sign in to a GitLab instance as a Victim user
- Create an arbitrary private repository with some private files. (We will steal this repo as a poc.)
ATTACKER ACCOUNT 1:
- Sign in to a GitLab instance as a Attacker1 user
- Create a new project using the following settings:
- Project Name:
poc - Visibility Level :
public - Check the
Initialize repository with a READMEcheckbox
- Project Name:
- Add a new
.gitlab-ci.ymlfile to the project
image: "ruby:2.6"
before_script:
- echo Hello
rspec:
script:
- echo Hello
We will mirror this repository and update the
.gitlab-ci.ymlfile later on to trigger the CI/CD job.
ATTACKER ACCOUNT 2:
- Sign in / Register to a GitLab instance as a Attacker2 user
- Create a new public group called as
test - Create a new project inside the
testgroup using the following settings:- Project Name:
poc - Visibility Level :
public
- Project Name:
- Go to
Project settings=>Repository=>Mirroring repositories- Set
Git repository URLto the previously created repository by the Attacker1 user - Set
Mirror directiontoPull - Check the
Trigger pipelines for mirror updatescheckbox - Click the
Mirror repositorybutton
- Set
- Go to the
testgroupMembersoption and invite the Victim user - Set the Victim user
Choose a role permissiontoOwner - Go to the
Account Setting=>Accountand delete this account.
ATTACKER ACCOUNT 1:
- Sign in back to the GitLab instance as a Attacker1 user
- Go to the
attacker1/pocproject and update the.gitlab-ci.ymlfile using the following content:
image: "ruby:2.6"
rspec:
script:
- git clone https://gitlab-ci-token:[email protected]/victim/private_repo_name.git
- cd private_repo_name
- ls -lah .
- cat README.md
- Wait half an hour to automatically trigger a mirror update in the
test/pocproject which owner is the Victim user.
The test/poc project will trigger a mirror update which also triggers a pipeline run. The triggerer of the pipeline will be the Victim user.
The Attacker1 user controls the attacker/poc/gitlab-ci.yml file which is mirrored to the test/poc project.
What is the current bug behavior?
- If there is a mirrored project with
Trigger pipelines for mirror updatesenabled inside a group and the group owner delete its account (need another owner role inside the group) then the trigger of the pipeline will be to other owner account. (I think this only works when the account deleted without removing the account from the group members but I still need to confirm this.)
What is the expected correct behavior?
- refuse pipeline run in the previously mentioned case
Output of checks
This bug happens on GitLab.com.
Results of GitLab environment info
bundle exec rake gitlab:env:info RAILS_ENV=development
System information
System:
Proxy: no
Current User: u3mur4
Using RVM: no
Ruby Version: 2.6.6p146
Gem Version: 3.0.3
Bundler Version:1.17.3
Rake Version: 12.3.3
Redis Version: 6.0.4
Git Version: 2.27.0
Sidekiq Version:5.2.7
Go Version: go1.14.4 linux/amd64
GitLab information
Version: 13.1.0-pre
Revision: 4bd9f8164e0
Directory: /home/u3mur4/Hack/gitlab/gitlab-development-kit/gitlab
DB Adapter: PostgreSQL
DB Version: 12.3
URL: http://gdk.yoyo.pw:3000
HTTP Clone URL: http://gdk.yoyo.pw:3000/some-group/some-project.git
SSH Clone URL: ssh://[email protected]:2222/some-group/some-project.git
Elasticsearch: no
Geo: no
Using LDAP: no
Using Omniauth: yes
Omniauth Providers: google_oauth2
GitLab Shell
Version: 13.3.0
Repository storage paths:
- default: /home/u3mur4/Hack/gitlab/gitlab-development-kit/repositories
GitLab Shell path: /home/u3mur4/Hack/gitlab/gitlab-development-kit/gitlab-shell
Git: /usr/bin/git
Impact
stealing the CI_JOB_TOKEN of any user (access the user private repositories, member only repositories and registry, etc...)
Context
GitLab is a source code hosting and DevOps platform. Among its features are repository mirroring and CI/CD pipelines. A project can be configured to pull from an external Git repository on a schedule, and it can be told to trigger a pipeline whenever a mirror update happens. Pipelines run with a CI_JOB_TOKEN, a short-lived token that authenticates the job against GitLab and carries the permissions of the user the pipeline runs as.
The report describes a business logic flaw in how that pipeline triggerer is determined. When a group owner who is the triggerer of a mirrored project's pipeline deletes their account, the pipeline is attributed to another owner of the group. Because the mirrored content is controlled by an outside party, that outside party can then run arbitrary jobs as that other owner and use the resulting CI_JOB_TOKEN to reach the owner's private resources.
The researcher notes this was recent research reported early, with a promise to update the report later.
Setup
The proof of concept needs three accounts on a GitLab instance: a victim, and two attacker accounts. The victim owns a private repository with private files, which is the target of the theft. Attacker1 owns a public project whose .gitlab-ci.yml will be mirrored and executed. Attacker2 owns a public group and a project inside it, and is used to set up the mirroring and to invite the victim.
The environment reported by the researcher was a GitLab development instance:
bundle exec rake gitlab:env:info RAILS_ENV=development
System information
System:
Proxy: no
Current User: u3mur4
Using RVM: no
Ruby Version: 2.6.6p146
Gem Version: 3.0.3
Bundler Version:1.17.3
Rake Version: 12.3.3
Redis Version: 6.0.4
Git Version: 2.27.0
Sidekiq Version:5.2.7
Go Version: go1.14.4 linux/amd64
GitLab information
Version: 13.1.0-pre
Revision: 4bd9f8164e0
Directory: /home/u3mur4/Hack/gitlab/gitlab-development-kit/gitlab
DB Adapter: PostgreSQL
DB Version: 12.3
URL: http://gdk.yoyo.pw:3000
HTTP Clone URL: http://gdk.yoyo.pw:3000/some-group/some-project.git
SSH Clone URL: ssh://[redacted]:2222/some-group/some-project.git
Elasticsearch: no
Geo: no
Using LDAP: no
Using Omniauth: yes
Omniauth Providers: google_oauth2
GitLab Shell
Version: 13.3.0
Repository storage paths:
- default: /home/u3mur4/Hack/gitlab/gitlab-development-kit/repositories
GitLab Shell path: /home/u3mur4/Hack/gitlab/gitlab-development-kit/gitlab-shell
Git: /usr/bin/git
The report also states the bug happens on GitLab.com.
Finding it
The report describes that when the group owner who is the triggerer deletes their account, the pipeline is attributed to another owner of the group. If the group owner who is the triggerer deletes their account, the pipeline is attributed to another owner of the group. Since the mirrored repository is controlled by an attacker, the attacker controls the job definitions that run under that owner's identity. The researcher suspected this only works when the account is deleted without removing it from the group members, but flagged that as still to be confirmed.
Exploitation
Step 1: create the victim's private repository
Sign in to the GitLab instance as the victim user and create an arbitrary private repository containing some private files. This repository is the target that will be stolen in the proof of concept.
Step 2: create Attacker1's public project
Sign in as Attacker1 and create a new project with these settings:
- Project Name:
poc - Visibility Level:
public - Check the
Initialize repository with a READMEcheckbox
Then add a .gitlab-ci.yml file to the project:
image: "ruby:2.6"
before_script:
- echo Hello
rspec:
script:
- echo Hello
This is a placeholder pipeline. The file will be updated later to trigger the CI/CD job that does the theft.
Step 3: create Attacker2's group and mirror
Sign in or register as Attacker2. Create a new public group called test, then create a new project inside it with these settings:
- Project Name:
poc - Visibility Level:
public
Go to Project settings => Repository => Mirroring repositories and configure:
Git repository URL: the repository previously created by Attacker1Mirror direction:Pull- Check
Trigger pipelines for mirror updates - Click the
Mirror repositorybutton
This makes the test/poc project pull Attacker1's repository content, including its .gitlab-ci.yml, and run a pipeline on each mirror update.
Step 4: invite the victim as owner
Go to the test group Members option and invite the victim user. Set the victim's Choose a role permission to Owner. The victim is now an owner of the group that holds the mirrored project.
Step 5: delete Attacker2's account
Go to Account Setting => Account and delete the Attacker2 account. The group still has the victim as an owner, so the group and its mirrored project remain.
Step 6: update the mirrored pipeline
Sign in back as Attacker1, go to the attacker1/poc project and update the .gitlab-ci.yml file with the following content:
image: "ruby:2.6"
rspec:
script:
- git clone https://gitlab-ci-token:$[redacted]/victim/private_repo_name.git
- cd private_repo_name
- ls -lah .
- cat README.md
The job clones the victim's private repository using the CI_JOB_TOKEN as the password in the URL, then lists the files and prints the README. Because the job runs as the victim, the token carries the victim's access to that private repository.
Step 7: wait for the mirror update
Wait half an hour for the automatic mirror update in the test/poc project, whose owner is the victim. The mirror update triggers a pipeline run, and the triggerer of that pipeline is the victim user. Attacker1 controls the attacker/poc/gitlab-ci.yml file that is mirrored into test/poc, so the job that runs is the attacker's job, executed as the victim.
Root cause
The report describes the behaviour: when the owner who is the triggerer deletes their account, the trigger falls to another owner of the group instead of the pipeline being refused. When the owner who is the triggerer deletes their account, the trigger falls to another owner of the group instead of the pipeline being refused. The mirrored repository content is attacker-controlled, so the fallback owner's identity is applied to attacker-supplied job definitions. The report suggests this only happens when the account is deleted without removing it from the group members, which the researcher had not yet confirmed. The expected behaviour is to refuse the pipeline run in this case.
Impact
The attacker can steal the CI_JOB_TOKEN of any user, accessing the user's private repositories, member-only repositories and registry. With that token the attacker can access the user's private repositories, member-only repositories and the registry. The report frames the impact as stealing the CI_JOB_TOKEN of any user, giving access to the user's private repositories, member-only repositories and registry.
Fix
The report states the expected correct behaviour: refuse the pipeline run in the case described. It does not describe a specific code change.
Variants to test
- A positive result is a pipeline whose triggerer is the remaining owner while the job content comes from the mirrored repository.
- A positive result is the same misattribution without the account lingering in the member list.
- A positive result is any configuration where an attacker-controlled
.gitlab-ci.ymlexecutes under another user's identity.
Hunting notes
This kind of bug hides in ownership and attribution logic around shared resources: group membership, project ownership, mirroring and pipeline triggers. During recon, look for features where an action is attributed to a user rather than to the actor who caused it, and for fallback behaviour when an account is deleted. The signal is a pipeline or job that runs as someone other than the person who supplied its definition. To show impact, the researcher used the resulting CI_JOB_TOKEN to clone a private repository and read its contents, which demonstrates access to resources the attacker should not reach.
What happened, in plain words
GitLab is a website where teams keep their source code and run automated tasks on it. Two of its features matter here. The first is repository mirroring: a project on GitLab can be set to copy its content from another Git repository somewhere else, on a schedule. The second is CI/CD pipelines: a project can contain a small instruction file that tells GitLab to run commands automatically, for example to build or test the code. Those commands run on GitLab's machines, not on your own computer.
When a pipeline runs, GitLab hands the job a token called CI_JOB_TOKEN. A token is a short string that works like a temporary password: whoever holds it can prove to GitLab that they are the job, and GitLab treats the job as having the permissions of the user the pipeline runs as. So if a pipeline runs as Alice, the token inside it can reach everything Alice can reach.
The report describes a flaw in how GitLab decides which user a mirrored project's pipeline runs as. The report describes that if the group owner who is the triggerer deletes their account, the pipeline is attributed to another owner of the group, though the researcher suspected this only works when the account is not removed from the group members. Because the content being mirrored comes from an outside party, that outside party controls the commands that will run, and those commands now run with the other owner's identity and token. The attacker can then use that token to read the owner's private repositories, member-only repositories and container registry.
The researcher notes this was recent research reported early, with a promise to update the report later.
The pieces you need to understand first
Before the steps, a few everyday comparisons for the terms used throughout.
- Repository: a folder of files that GitLab keeps track of, with its history. Think of a shared folder with a logbook of every change.
- Private repository: a repository only its members can see. Like a folder shared with specific people rather than with everyone.
- Public project: a project anyone can view. Like a folder on a public noticeboard.
- Group: a container that holds several projects and a list of members, each with a role. Like a company department with a list of staff and their job titles.
- Owner role: the highest permission level in a group. An owner can change settings and manage other members.
- Mirroring: telling a project to copy its content from another repository, either pushing to it or pulling from it. Like subscribing a folder to another folder so it stays in sync.
- Pipeline: the set of automated jobs GitLab runs for a project, defined in a file called
.gitlab-ci.yml. Like a to-do list of commands that a robot carries out. - Job: one entry in that pipeline, a group of commands run together.
- Triggerer: the user GitLab records as the person who started a pipeline. This matters because the job's token inherits that user's permissions.
- Token: a temporary password-like string. The
CI_JOB_TOKENis the one GitLab gives a running job so it can talk back to GitLab. - Business logic flaw: a bug not in the low-level plumbing but in the rules of the application itself. The software does exactly what it was programmed to do, but the rule is wrong. Like a bank that correctly processes a transfer but forgets to check the sender owns the money.
Setup
The proof of concept needs three accounts on a GitLab instance: a victim, and two attacker accounts. The victim owns a private repository with private files, which is the target of the theft. Attacker1 owns a public project whose .gitlab-ci.yml will be mirrored and executed. Attacker2 owns a public group and a project inside it, and is used to set up the mirroring and to invite the victim.
The environment reported by the researcher was a GitLab development instance. The command below asks GitLab to print information about its own installation: versions of the software it depends on, where it stores things, and which optional features are switched on. It is a way of recording exactly what was tested, so someone else can try to reproduce it.
bundle exec rake gitlab:env:info RAILS_ENV=development
System information
System:
Proxy: no
Current User: u3mur4
Using RVM: no
Ruby Version: 2.6.6p146
Gem Version: 3.0.3
Bundler Version:1.17.3
Rake Version: 12.3.3
Redis Version: 6.0.4
Git Version: 2.27.0
Sidekiq Version:5.2.7
Go Version: go1.14.4 linux/amd64
GitLab information
Version: 13.1.0-pre
Revision: 4bd9f8164e0
Directory: /home/u3mur4/Hack/gitlab/gitlab-development-kit/gitlab
DB Adapter: PostgreSQL
DB Version: 12.3
URL: http://gdk.yoyo.pw:3000
HTTP Clone URL: http://gdk.yoyo.pw:3000/some-group/some-project.git
SSH Clone URL: ssh://[redacted]:2222/some-group/some-project.git
Elasticsearch: no
Geo: no
Using LDAP: no
Using Omniauth: yes
Omniauth Providers: google_oauth2
GitLab Shell
Version: 13.3.0
Repository storage paths:
- default: /home/u3mur4/Hack/gitlab/gitlab-development-kit/repositories
GitLab Shell path: /home/u3mur4/Hack/gitlab/gitlab-development-kit/gitlab-shell
Git: /usr/bin/git
Line by line, in plain words:
- The first line runs a GitLab maintenance command (
rake) throughbundle, a tool that runs Ruby programs with the right libraries, and asks for environment information in development mode. System informationstarts the section about the machine and the tools installed on it.System:is blank,Proxy: nomeans no proxy server sits in front of GitLab, andCurrent User: u3mur4is the operating system account that ran the command.Using RVM: nomeans the Ruby version manager was not in use.- The
Ruby,Gem,Bundler,Rake,Redis,Git,SidekiqandGolines list the versions of those components. Sidekiq is the background job runner, Redis is the in-memory store it uses, and Go is the language of some GitLab components. GitLab informationstarts the section about GitLab itself: its version (13.1.0-pre, a pre-release), the exact code revision, the folder it lives in, the database type (PostgreSQL) and version, and the URL it is served on.- The
HTTP Clone URLandSSH Clone URLlines show the two ways to copy a repository: over HTTPS and over SSH. Elasticsearch,GeoandLDAPare allno, meaning those optional features are off.Using Omniauth: yeswithOmniauth Providers: google_oauth2means sign-in through Google is enabled.GitLab Shellis the component that handles Git over SSH. Its version, the folder where repositories are stored, its own path and the path to thegitprogram are listed.
The report also states the bug happens on GitLab.com.
Finding it
The researcher observed that the triggerer of a pipeline started by a mirror update is not fixed to the account that configured the mirror. If the group owner who is the triggerer deletes their account, the pipeline is attributed to another owner of the group. Since the mirrored repository is controlled by an attacker, the attacker controls the job definitions that run under that owner's identity. The researcher suspected this only works when the account is deleted without removing it from the group members, but flagged that as still to be confirmed.
Exploitation
Step 1: create the victim's private repository
Sign in to the GitLab instance as the victim user and create an arbitrary private repository containing some private files. This repository is the target that will be stolen in the proof of concept. It is the thing the attacker wants to read, so it has to exist before anything else.
Step 2: create Attacker1's public project
Sign in as Attacker1 and create a new project with these settings:
- Project Name:
poc - Visibility Level:
public - Check the
Initialize repository with a READMEcheckbox
This project is the source that will later be mirrored. The README checkbox just gives the project an initial file so it is not empty.
Then add a .gitlab-ci.yml file to the project:
image: "ruby:2.6"
before_script:
- echo Hello
rspec:
script:
- echo Hello
Line by line:
image: "ruby:2.6"says the job should run inside a prepared environment (a container) that already has Ruby version 2.6 installed. Think of it as choosing which pre-built workshop the robot works in.before_script:lists commands that run before every job. Here it is a singleecho Hello, which just prints the word Hello.rspec:is the name of the job. The name is arbitrary; it does not have to match a real tool.script:lists the commands for that job, here again justecho Hello.
This is a placeholder pipeline. It does nothing harmful yet. The file will be updated later to trigger the CI/CD job that does the theft. The point of starting with a harmless file is to get the mirroring and pipeline machinery working first, then swap in the real payload once everything is connected.
Step 3: create Attacker2's group and mirror
Sign in or register as Attacker2. Create a new public group called test, then create a new project inside it with these settings:
- Project Name:
poc - Visibility Level:
public
Go to Project settings => Repository => Mirroring repositories and configure:
Git repository URL: the repository previously created by Attacker1Mirror direction:Pull- Check
Trigger pipelines for mirror updates - Click the
Mirror repositorybutton
Why each setting matters:
- The
Git repository URLtells this project where to copy from, namely Attacker1's project. Mirror direction: Pullmeans this project pulls content in from the other repository, rather than pushing its own content out. So the content that lands here is whatever Attacker1 puts in his project.Trigger pipelines for mirror updatesis the key switch. It tells GitLab to run a pipeline every time the mirror updates, using the.gitlab-ci.ymlthat arrived with the mirrored content.
This makes the test/poc project pull Attacker1's repository content, including its .gitlab-ci.yml, and run a pipeline on each mirror update. In other words, Attacker1 now controls what commands this project will run.
Step 4: invite the victim as owner
Go to the test group Members option and invite the victim user. Set the victim's Choose a role permission to Owner. The victim is now an owner of the group that holds the mirrored project.
Step 5: delete Attacker2's account
Go to Account Setting => Account and delete the Attacker2 account. The group still has the victim as an owner, so the group and its mirrored project remain.
This is the trigger for the bug. By deleting it, the attacker forces GitLab to decide who the triggerer is now. The expected behaviour is to refuse the pipeline run in this case. Instead, the pipeline is attributed to another owner of the group.
Step 6: update the mirrored pipeline
Sign in back as Attacker1, go to the attacker1/poc project and update the .gitlab-ci.yml file with the following content:
image: "ruby:2.6"
rspec:
script:
- git clone https://gitlab-ci-token:$[redacted]/victim/private_repo_name.git
- cd private_repo_name
- ls -lah .
- cat README.md
Line by line:
image: "ruby:2.6"again chooses the prepared environment for the job.rspec:is the job name, unchanged from before.script:lists the commands, and this time they do the theft.git clone https://gitlab-ci-token:$[redacted]/victim/private_repo_name.gitcopies the victim's private repository. The URL has a username,gitlab-ci-token, and a password,$CI_JOB_TOKEN, in front of the address. The$CI_JOB_TOKENpart is replaced by GitLab with the job's token at run time. Because the job runs as the victim, that token is accepted as the victim and the private repository is readable. Think of it as showing the victim's badge at the door.cd private_repo_namemoves into the copied folder.ls -lah .lists the files in it, with details such as size and permissions.cat README.mdprints the contents of the README file, proving the private content was actually read.
The job clones the victim's private repository using the CI_JOB_TOKEN as the password in the URL, then lists the files and prints the README. Because the job runs as the victim, the token carries the victim's access to that private repository.
Step 7: wait for the mirror update
Wait half an hour for the automatic mirror update in the test/poc project, whose owner is the victim. The mirror update triggers a pipeline run, and the triggerer of that pipeline is the victim user. Attacker1 controls the attacker/poc/gitlab-ci.yml file that is mirrored into test/poc, so the job that runs is the attacker's job, executed as the victim.
The attacker does not need to touch the victim's project at all: the victim's own group does the work, on its own schedule, with the victim's identity.
Root cause
The report describes the behaviour: when the owner who is the triggerer deletes their account, the trigger falls to another owner of the group instead of the pipeline being refused. When the owner who is the triggerer deletes their account, the trigger falls to another owner of the group instead of the pipeline being refused. The mirrored repository content is attacker-controlled, so the fallback owner's identity is applied to attacker-supplied job definitions. The report suggests this only happens when the account is deleted without removing it from the group members, which the researcher had not yet confirmed.
In everyday terms: the system has a rule for "who is responsible for this pipeline", and when the named person disappears it quietly hands the responsibility to someone else in the same group, without checking whether that someone else ever agreed to run anything. Since the commands come from outside, the new responsible person ends up running a stranger's commands with their own permissions.
Impact
The attacker can steal the CI_JOB_TOKEN of any user, accessing the user's private repositories, member-only repositories and registry. With that token the attacker can access the user's private repositories, member-only repositories and the registry. The report frames the impact as stealing the CI_JOB_TOKEN of any user, giving access to the user's private repositories, member-only repositories and registry.
Fix
The report states the expected correct behaviour: refuse the pipeline run in the case described. It does not describe a specific code change.
Variants to test
- A positive result is a pipeline whose triggerer is the remaining owner while the job content comes from the mirrored repository.
- A positive result is the same misattribution without the account lingering in the member list.
- A positive result is any configuration where an attacker-controlled
.gitlab-ci.ymlexecutes under another user's identity.
Hunting notes
This kind of bug hides in ownership and attribution logic around shared resources: group membership, project ownership, mirroring and pipeline triggers. During recon, look for features where an action is attributed to a user rather than to the actor who caused it, and for fallback behaviour when an account is deleted. The signal is a pipeline or job that runs as someone other than the person who supplied its definition. To show impact, the researcher used the resulting CI_JOB_TOKEN to clone a private repository and read its contents, which demonstrates access to resources the attacker should not reach.
Glossary
- API: a way for one program to talk to another over the network, sending requests and getting structured answers back.
- Attribution: the record of which user an action or job is credited to, which decides whose permissions apply.
- Business logic flaw: a bug in the rules of an application rather than in its low-level code; the software behaves as programmed, but the rule itself is wrong.
- CI/CD: continuous integration and continuous delivery, the practice of running automated jobs on code, such as building and testing it.
- CI_JOB_TOKEN: the temporary token GitLab gives a running job so it can authenticate back to GitLab, carrying the permissions of the user the pipeline runs as.
- Container image: a pre-built, self-contained environment with software already installed, used to run a job.
- Fallback: the alternative the system chooses when the first choice is no longer available.
- Git: the version control system that tracks changes to files in a repository.
- GitLab: a source code hosting and DevOps platform with repositories, groups, mirroring and pipelines.
- Group: a container on GitLab that holds projects and a list of members with roles.
- Job: one entry in a pipeline, a set of commands run together.
- Member-only repository: a repository visible only to members of the group or project it belongs to.
- Mirroring: configuring a project to copy content to or from another Git repository, either on demand or on a schedule.
- Owner: the highest role in a GitLab group, able to change settings and manage members.
- Pipeline: the set of automated jobs GitLab runs for a project, defined in
.gitlab-ci.yml. - Private repository: a repository visible only to the people it is shared with.
- Pull (mirror direction): copying content from an external repository into the GitLab project.
- Registry: GitLab's storage for container images built by projects.
- Repository: a tracked folder of files with its full change history.
- Role permission: the level of access a group member has, such as Owner or Developer.
- Token: a temporary password-like string used to prove identity to a service.
- Triggerer: the user GitLab records as having started a pipeline, whose permissions the job's token inherits.
.gitlab-ci.yml: the file in a repository that defines the jobs of a project's pipeline.