TMAegis
Више правила за gitlab

TMA-GITLAB-2.2.7

Ensure build workers' deployment configuration is stored in a version control platform

СредњаНиво 1Ручни прегледgitlab

Опис

Store the deployment configuration of build workers in a version control platform, such as GitLab. Build workers are a sensitive part of the build phase. They generally have access to the code repository, the Continuous Integration platform, the deployment platform, etc. This means that an attacker gaining access to a build worker may compromise other platforms in the organization and cause a major incident. One thing that can protect workers is to ensure that their deployment configuration is safe and well-configured. Storing the deployment configuration in version control enables more observability of these configurations because everything is catalogued in a single place. It adds another layer of security, as every change will be reviewed and noticed, and thus malicious changes will theoretically occur less. In the case of a mistake, bug, or security incident, it also offers an eas...

Како се проверава

Метод провере: Ручни преглед

Ова препорука се не може проверити аутоматски. Скенирање је наводи са овим упутствима када проследите --include-manual.

Verify that the deployment configuration of build workers is stored in a version control platform. - On the left sidebar, select Code > Repository. - Check if a .gitlab-ci.yml file is at the root of your repository.

Како се исправља

Метод исправке: Смерница или закрпа инфраструктуре

Document and store every deployment configuration of build workers in a version control platform. - On the left sidebar, select Code > Repository. - Above the file list, select the branch you want to commit to. If you’re not sure, leave master or main. Then select the plus icon () and New file: - For the Filename, type .gitlab-ci.yml. - Select Commit changes.

Својства

Оперативни системи
Било који
Ознаке
devsecopsgitlab
Референца
CIS GitLab Benchmark v1.0.1 - 2.2.7 Ensure build workers' deployment configuration is stored in a version control platform