TMAegis
更多 gitlab 规则

GitLab

TMA-GITLAB-2.4.2

Ensure all external dependencies used in the build process are locked

中级别 1人工审核gitlab

说明

External dependencies may be public packages needed in the pipeline, or perhaps the public image being used for the build worker. Lock these external dependencies in every build pipeline. External dependencies are sources of code that aren't under organizational control. They might be intentionally or unintentionally infected with malicious code or have known vulnerabilities, which could result in sensitive data exposure, data harvesting, or the erosion of trust in an organization. Locking each external dependency to a specific, safe version gives more control and less chance for risk.

检查方式

审计方法: 人工审核

此项建议无法自动检查。当您传入 --include-manual 时,扫描结果会列出该项并附带这些说明。

Ensure every external dependency being used in pipelines is locked. - Go to Code > Repository in your project - Review the following files at the root of your repository: o Gemfiles o package.jsons o go.sum - Review the versions of the external dependencies

修复方式

修复方法: 操作指南或基础设施补丁

For all external dependencies being used in pipelines, verify they are locked. - Go to Code > Repository in your project - Review the following files at the root of your repository: o Gemfiles o package.jsons o go.sum - Ensure the version of the external dependencies corresponds to your internal policies

属性

操作系统
任意
标签
devsecopsgitlab
参考
CIS GitLab Benchmark v1.0.1 - 2.4.2 Ensure all external dependencies used in the build process are locked