TMAegis
Thêm quy tắc cho github

TMA-GITHUB-2.1.1

Ensure each pipeline has a single responsibility

ThấpCấp 2Xem xét thủ cônggithub

Mô tả

Ensure each pipeline has a single responsibility in the build process. Build pipelines generally have access to multiple secrets depending on their purposes. There are, for example, secrets of the test environment for the test phase, repository and artifact credentials for the build phase ... Reported as a manual review item: no reliable read-only gh api check exists for this control.

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.

For each pipeline, ensure it has only one responsibility in the build process. Expected state: Divide each multi-responsibility pipeline into multiple pipelines, each having a single responsibility with the least privilege. Additionally, create all new pipelines with a sole purpose going forward.

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

Divide each multi-responsibility pipeline into multiple pipelines, each having a single responsibility with the least privilege. Additionally, create all new pipelines with a sole purpose going forward.

Thuộc tính

Hệ điều hành
Bất kỳ
Thẻ
githubbuild-pipelines
Tham chiếu
CIS GitHub Benchmark v1.2.0 - 2.1.1 Ensure each pipeline has a single responsibility