TMA-GITLAB-1.5.3
Ensure scanners are in place to secure Infrastructure as Code (IaC) instructions
Descripción
Detect and prevent misconfigurations or insecure instructions in Infrastructure as Code (IaC) files, such as Terraform files. Detecting and fixing misconfigurations and/or insecure instructions in IaC (Infrastructure as Code) files decreases the risk for data leak or data theft. It is important to secure IaC instructions in order to prevent further problems of deployment, exposed assets, or improper configurations, which can ultimately lead to easier ways to attack and steal organization data.
Cómo se verifica
Método de auditoría: Revisión manual
Esta recomendación no se puede verificar automáticamente. Un escaneo la lista con estas instrucciones cuando se pasa --include-manual.
Audit: For every repository that holds IaC instructions files, verify that a scanning tool such as GitLab's Infrastructure as Code scanning is configured to identify and prevent misconfigurations and insecure instructions. 1. On GitLab, navigate to the main page of the repository. 2. Review the CI pipeline configuration to verify that IaC scanning has been enabled on this project.
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
Remediation: For every repository that holds IaC instructions files, configure GitLab's Infrastructure as Code scanning (or another IaC scanning tool) to identify and prevent misconfigurations and insecure instructions. 1. On GitLab, navigate to the main page of the repository. 2. Enable IaC scanning for this project.
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- devsecopsgitlab
- Referencia
- CIS GitLab Benchmark v1.0.1 - 1.5.3 Ensure scanners are in place to secure Infrastructure as Code (IaC) instructions