TMAegis
Thêm quy tắc cho gitlab

GitLab

TMA-GITLAB-5.1.1

Ensure deployment configuration files are separated from source code

Trung bìnhCấp 2Xem xét thủ cônggitlab

Mô tả

Deployment configurations are often stored in a version control system. Separate deployment configuration files from source code repositories. Deployment configuration manifests are often stored in version control systems. Storing them in dedicated repositories, separately from source code repositories, has several benefits. First, it adds order to both maintenance and version control history. This makes it easier to track code or manifest changes, as well as spot any malicious code or misconfigurations. Second, it helps achieve the Least Privilege principle. Because access can be configured differently for each repository, fewer users will have access to this configuration, which is typically sensitive.

Cách kiểm tra

Phương pháp kiểm tra: Xem xét thủ công

Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --include-manual.

Ensure each deployment configuration file is stored separately from source code.

Cách khắc phục

Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng

Store each deployment configuration file in a dedicated repository separately from source code.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
devsecopsgitlab
Tham chiếu
CIS GitLab Benchmark v1.0.1 - 5.1.1 Ensure deployment configuration files are separated from source code