TMAegis
更多 gitlab 規則

GitLab

TMA-GITLAB-1.5.2

Ensure scanners are in place to secure Continuous Integration (CI) pipeline instructions

中等級 2人工審核gitlab

說明

Detect and prevent misconfigurations and insecure instructions in CI pipelines Detecting and fixing misconfigurations or insecure instructions in CI pipelines decreases the risk for a successful attack through or on the CI pipeline. The more secure the pipeline, the less risk there is for potential exposure of sensitive data, a deployment being compromised, or external access mistakenly being granted to the CI infrastructure or the source code.

檢查方式

稽核方法: 人工審核

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

For every project: - Identify if one or more CI configuration files exist - Review CI configuration files for misconfigurations or insecure instructions - Review whether the absence of any CI configuration is itself a misconfiguration

修補方式

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

For every project identified during the Audit as having misconfigured or insecure CI instructions: - Update the CI instructions - Consider using Scan Execution Policies at the project or group level to enforce security scans - Consider using the Compliance Framework feature to enforce pipeline configuration - Consider procuring and enabling a CI instructions scanning tool to identify and prevent misconfigurations and insecure instructions and scans all CI pipelines.

屬性

作業系統
不限
標籤
ci-cddevsecopsgitlab
參考資料
CIS GitLab Benchmark v1.0.1 - 1.5.2 Ensure scanners are in place to secure Continuous Integration (CI) pipeline instructions