TMAegis
Thêm quy tắc cho gitlab

GitLab

TMA-GITLAB-1.1.19

Ensure any changes to branch protection rules are audited

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

Mô tả

Ensure that changes in the branch protection rules are audited. Branch protection rules should be configured on every repository. The only users who may change such rules are administrators. In a case of an attack on an administrator account or of human error on the part of an administrator, protection rules could be disabled, and thus decrease source code confidentiality as a result. It is important to track and audit such changes to prevent potential incidents as soon as possible.

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 that changes in the branch protection rules are audited regularly. You can view audit events from user actions across an entire GitLab instance. To view instance audit events: 1. On the left sidebar, select Search or go to. 2. Select Admin Area. 3. On the left sidebar, select Monitoring > Audit Events. 4. Filter by the following:Event Type protected_branch_updated. This event type is triggered when the setting for protected branches is updated. 5. Ensure every action is reasonable and secure and is investigated if not.

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

Use the audit log to audit changes in branch protection rules by performing the following: 1. On the left sidebar, select Search or go to. 2. Select Admin Area. 3. On the left sidebar, select Monitoring > Audit Events. 4. Filter by the following:Event Type protected_branch_updated 5. Ensure every action is reasonable and secure and is investigated if not.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
branch-protectiondevsecopsgitlablogging
Tham chiếu
CIS GitLab Benchmark v1.0.1 - 1.1.19 Ensure any changes to branch protection rules are audited