TMAegisBeta
更多 gitlab 规则

GitLab

TMA-GITLAB-3.2.2

Ensure packages are automatically scanned for known vulnerabilities

中级别 1人工审核gitlab

说明

Automatically scan every package for vulnerabilities. Automatic scanning for vulnerabilities detects known vulnerabilities in packages and dependencies in use, allowing faster patching when one is found. Such vulnerabilities can lead to a massive breach if not handled as fast as possible, as attackers will also know about those vulnerabilities and swiftly try to take advantage of them. Scanning packages regularly for vulnerabilities can also verify usage compliance with the organization's security policy.

检查方式

审计方法: 人工审核

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

Once Dependency Scanning is enabled for your project, continuous scanning of packages for dependency vulnerabilities is enabled.

修复方式

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

Enable Dependency scanning in order to automatically scan packages for vulnerabilities. To enable the analyzer, either: - Enable Auto DevOps, which includes dependency scanning. - Edit the .gitlab-ci.yml file manually. Use this method if your .gitlab-ci.yml file is complex. - Use a preconfigured merge request. - Create a scan execution policy that enforces dependency scanning.

属性

操作系统
任意
标签
devsecopsgitlab
参考
CIS GitLab Benchmark v1.0.1 - 3.2.2 Ensure packages are automatically scanned for known vulnerabilities