TMA-GITLAB-1.5.7
Ensure scanners are in place for web application runtime security weaknesses
Deskripsi
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.
Cara pemeriksaan
Metode audit: Tinjauan manual
Rekomendasi ini tidak dapat diperiksa secara otomatis. Pemindaian akan menampilkannya beserta petunjuk ini saat Anda memberikan opsi --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.
Cara perbaikan
Metode perbaikan: Panduan atau patch infrastruktur
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.
Properti
- Sistem operasi
- Apa saja
- Tag
- devsecopsgitlab
- Referensi
- CIS GitLab Benchmark v1.0.1 - 1.5.7 Ensure scanners are in place for web application runtime security weaknesses