The OWASP Zed Attack Proxy
is one of the world’s most popular free security tools and is actively
maintained by hundreds of
international volunteers. It can help you automatically find security vulnerabilities in your web applications while you are developing and
testing your applications. It's also a great tool for experienced pen-testers to use for manual security testing.
- Manage Sessions (Load or Persist)
- Define Context (Name, Include URLs and Exclude URLs)
- Attack Contexts (Spider Scan, AJAX Spider, Active Scan)
You can also:
- Setup Authentication (Form Based or Script Based)
- Run as Pre-Build as part of a Selenium Build
- Generate Reports (.xhtml, .xml, .json)
- ZAP as a part of a CI Environment
- Issue Tracking
- Security Vulnerabilities
- Building the Plugin
- Development Rules and Guidelines
- Version History
- Previous Release (Deprecated)
- A Jenkins CI Build step initializes ZAP
- Traffic flows (Regression Pack) through ZAP (Web Proxy)
- ZAP modifies requests to include Vulnerability Tests
- Target Application/Server sends Response back through ZAP
- ZAP sends reporting data back to Jenkins
- Jenkins publishes and archives the report(s)
- Jenkins creates JIRA tickets for the alerts
ZAP Jenkins plugin uses a number of open source plugins to work properly:
- ZAP API – A REST API which allows you to interact with ZAP programmatically.
And of course the Official ZAP Jenkins plugin is open source with a public repository on GitHub
Please use the Google Group for any questions about using the plugin.
Include the following:
- Java version
- Jenkins version
- ZAP version
- ZAP Jenkins Plugin version
- Firefox version (if running AJAX Spider or a Selenium build)
- Selenium (if applicable)
Upload copies of the zap.log files and a copy of the console output of the Jenkins log to pastebin.
Jenkins is always running on a master, is ZAP running on the master as well or on a separate slave machine?
Relevant Jenkins Job Configurations sanitized screenshots.
- Issues can be created on the Jenkins JIRA for the component zap-plugin
- Before creating an Issue please read the JIRA guidelines.
Notice: GitHub Issues have been disabled.
If you find any security vulnerabilities or exploits caused by the plugin, please send a private email to one of the maintainer(s).
Notice: These should be kept private until a fix is issued.
- ZAP Jenkins plugin requires Jenkins 1.580.1+ to run.
- Download and extract the desired war release.
Zed Attack Proxy – Documentation, how to configure ZAP can be found here
Detailed instructions on how to configure a Job from start to finish can be found here.
Recommended: for first time users, the plugin requires special instructions to setup for first run.
The Official OWASP ZAP Jenkins plugin is a Maven Jelly Project.
Start the local Jenkins instance:
$ mvn hpi:run
Requires: JDK 8 to compile and JDK 7+ to run on Jenkins.
- Ensure that your Maven Environment is setup and configured properly by following the Plugin tutorial.
- Ensure that your various hosting permissions are configured properly and additional project settings are configured properly by following the Hosting Plugins tutorial.
Warning: Do NOT attempt to perform a production release until you have completed the Pre-Production Release steps below.
$ mvn clean package -eto create the plugin
- copy the resulting
../target/zap.hpifile to the
$JENKINS_HOME/plugins directory. Restart Jenkins.
- or use the plugin management console
127.0.0.1:8080/pluginManager/advancedto upload the
.hpifile. Restart Jenkins.
- Validate and make sure that your ssh connection is working and
configured properly with:
$ ssh -T email@example.com
- Validate and sure your Jenkins credentials are correctly recognized
by Maven with:
$ mvn deploy
Warning: If there are any SSL handshake issues, please see the following document on how to resolve them.
$ mvn release:prepare release:perform
Required: Only ONE Pull Request per JIRA Issue/Ticket.
See Code Style Guidelines** **
See Contributors** **
See History** **
The MIT License (MIT) Copyright (c) Copyright (c) 2016 Goran Sarenkapa (JordanGS), and a number of other of contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.