TMA-GITLAB-3.2.2
Ensure packages are automatically scanned for known vulnerabilities
Descrição
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.
Como é verificado
Método de auditoria: Revisão manual
Esta recomendação não pode ser verificada automaticamente. Uma varredura a lista com estas instruções quando você passa --include-manual.
Once Dependency Scanning is enabled for your project, continuous scanning of packages for dependency vulnerabilities is enabled.
Como é corrigido
Método de correção: Orientação ou patch de infraestrutura
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.
Propriedades
- Sistemas operacionais
- Qualquer
- Tags
- devsecopsgitlab
- Referência
- CIS GitLab Benchmark v1.0.1 - 3.2.2 Ensure packages are automatically scanned for known vulnerabilities