TMAegis
更多 gitlab 规则

GitLab

TMA-GITLAB-3.1.5

Ensure trusted package managers and repositories are defined and prioritized

中级别 1人工审核gitlab

说明

Prioritize trusted package registries over others when pulling a package. When pulling a package by name, the package manager might look for it in several package registries, some of which may be untrusted or badly configured. If the package is pulled from such a registry, there is a higher likelihood that it could prove malicious. In order to avoid this, configure packages to be pulled from trusted package registries.

检查方式

审计方法: 人工审核

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

For each package registry in use, ensure it is trusted. The GitLab package registry is enabled by default.

修复方式

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

For each package to be downloaded, configure it to be downloaded from a trusted source. To view your GitLab package registry and its contents, click on "Deploy" --> "Package Registry."

属性

操作系统
任意
标签
devsecopsgitlab
参考
CIS GitLab Benchmark v1.0.1 - 3.1.5 Ensure trusted package managers and repositories are defined and prioritized