TMA-GITLAB-1.5.7
Ensure scanners are in place for web application runtime security weaknesses
Descripción
Dynamic Application Security Testing (DAST) runs automated penetration tests to find vulnerabilities in your web applications as they are running. DAST automates a hacker’s approach and simulates real-world attacks for critical threats such as cross-site scripting (XSS), SQL injection (SQLi), and cross-site request forgery (CSRF) to uncover vulnerabilities and misconfigurations that other security tools cannot detect.
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: Ensure Browser-based DAST is set up to identify dynamic vulnerabilities in web applications that cannot be detected by other tools earlier in the SDLC. Ensure that every project that contains a web application is scanned by DAST. - The DAST template must be configured for your project. - Review the output from the previous scan on your default branch in Secure > Vulnerability Report.
Cómo se corrige
Método de corrección: Guía o parche de infraestructura
1. Include the DAST.gitlab-ci.yml template in your .gitlab-ci.yml file. 2. Add a dast stage to your GitLab CI/CD stages configuration. 3. Define the URL to be scanned by DAST by setting the DAST_WEBSITE CI/CD variable. 4. Add any additionally desired CI variables to customize the test. 5. After configuration, the analyzer will run in your pipeline. 6. View the results in the Vulnerability report and remediate the vulnerabilities.
Propiedades
- Sistemas operativos
- Cualquiera
- Etiquetas
- devsecopsgitlab
- Referencia
- CIS GitLab Benchmark v1.0.1 - 1.5.7 Ensure scanners are in place for web application runtime security weaknesses