TMAegis
更多 github 規則

TMA-GITHUB-2.2.2

Ensure build worker environments and commands are passed and not pulled

中等級 1人工審核github

說明

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.

檢查方式

稽核方法: 人工審核

此項建議無法自動檢查。當您傳入 --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.

修補方式

修補方法: 操作指南或基礎設施修補檔

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

屬性

作業系統
不限
標籤
githubbuild-pipelines
參考資料
CIS GitHub Benchmark v1.2.0 - 2.2.2 Ensure build worker environments and commands are passed and not pulled