TMAegis
更多 gitlab 規則

GitLab

TMA-GITLAB-2.3.2

Ensure steps have clearly defined build stage input and output

中等級 1人工審核gitlab

說明

Define clear expected input and output for each build stage. In order to have more control over data flow in the build pipeline, clearly define the input and output of the pipeline steps. If anything malicious happens during the build stage, it will be recognized more easily and stand out as an anomaly.

檢查方式

稽核方法: 人工審核

此項建議無法自動檢查。當您傳入 --include-manual 時,掃描結果會列出此項目並附帶這些說明。

For each build stage, verify that the expected input and output are clearly defined. - On the left sidebar, select Code > Repository. - Review the .gitlab-ci.yml file to check if the build stage job input and output are clearly defined.

修補方式

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

For each build stage, clearly define what is expected for input and output. - On the left sidebar, select Code > Repository. - Ensure the .gitlab-ci.yml file has build stage job input and output clearly defined.

屬性

作業系統
不限
標籤
devsecopsgitlab
參考資料
CIS GitLab Benchmark v1.0.1 - 2.3.2 Ensure steps have clearly defined build stage input and output