TMAegis
Thêm quy tắc cho github

TMA-GITHUB-2.2.2

Ensure build worker environments and commands are passed and not pulled

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

Mô tả

A worker's environment can be passed (for example, a pod in a Kubernetes cluster in which an environment variable is passed to it). It also can be pulled, like a virtual machine that is installing a package. Ensure that the environment and commands are passed to the workers and not pulled from it. Passing an environment means additional configuration happens in the build time phase and not in run time. It will also pass locally and not remotely. 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 build worker, ensure its environment and commands are passed and not pulled. Expected state: For each build worker, pass its environment and commands to it instead of pulling it.

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

For each build worker, pass its environment and commands to it instead of pulling it.

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.2.2 Ensure build worker environments and commands are passed and not pulled