In this case, we will demonstrate how to execute ZAP using the command line interface (CLI), which provides a simple way to trigger the security testing and can be easily integrated with other frameworks. The key steps of the web security scanning include spider scan, active scan, and review the scan results.