Utilizing ZAP DAST testing with Jenkins
Jenkins is an open source CI/CD technology that aids in the automation of the software development process. Jenkins allows developers to seamlessly merge code changes and automatically create, test, and deploy applications, making the software development process more efficient and dependable. Jenkins is extensively used by teams of all sizes to automate their software delivery processes, and it is easily customizable to meet the demands of each project. In this context, the OWASP ZAP is a Dynamic Application Security (DAST) vulnerability detection tool for web applications. It can be linked to a Jenkins pipeline to automate security testing as part of the CI/CD process.
Getting ready
This recipe requires the installation of Jenkins and Docker on an Ubuntu 22.04 virtual machine. Ensure Juice-Shop is running locally to scan against it.
Important note
If you are running Jenkins on a local system, you must offer access rights/permissions...