Skip to content

Commit c0895d4

Browse files
author
build docs workflow
committed
update docs
1 parent c31a331 commit c0895d4

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
layout: default
3+
title: The ability to override predefined variables should be limited only to users with at least Maintainer role.
4+
parent: Project Policies
5+
grand_parent: GitLab Policies
6+
---
7+
8+
9+
## The ability to override predefined variables should be limited only to users with at least Maintainer role.
10+
policy name: overriding_defined_variables_isnt_restricted
11+
12+
severity: LOW
13+
14+
### Description
15+
It’s recommended to restrict users with low privileges from overriding predefined variables, as doing so could compromise the security and integrity of the CI/CD pipeline.
16+
17+
### Threat Example(s)
18+
Allowing overrides of predefined variables can result in unintentional misconfigurations of the CI/CD pipeline or deliberate tampering.
19+
20+
21+
22+
### Remediation
23+
1. Make sure you have owner or maintainer permissions
24+
2. The remediation is available through the project's API (e.g., 'https://gitlab.com/api/v4/projects/<your-project-ID>')
25+
3. Set the 'restrict_user_defined_variables' attribute to TRUE (this attribute is FALSE by default)
26+
27+
28+

0 commit comments

Comments
 (0)