/zap-plugin

The OWASP ZAP Jenkins Plugin extends the functionality of the ZAP security tool into a CI Environment.

Primary LanguageJavaMIT LicenseMIT

Release Jenkins Coverity Best Practices License




The OWASP Zed Attack Proxy (ZAP) 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. Its also a great tool for experienced pentesters to use for manual security testing.

The OWASP ZAP Jenkins Plugin extends the functionality of the ZAP security tool into a CI Environment.

  • 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 XHTML, .xml XML, .json JSON)

Questions/Troubleshooting

  • Please use the Google Group for any questions about using the plugin.
  • Notice:
    • 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.

Issue Tracking

Security Vulnerabilities

  • 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.

Latest Release - Version 1.1.0 (July 10, 2017)

  • add [ JENKINS-39985 ] Added support for context Alert Filters.
  • add [ JENKINS-43554 ] Added support for the internationalization of:
    1. UI Elements
    2. Associated Help Doc's
  • warning [ JENKINS-43483 ] Added support to the authentication module to be able to utilize Logged Out Indicators.
  • remove [ JENKINS-43384 ] Removed support from the ZAP Settings Variable for System Environment Variables, Build Variables as well as Environment Inject Plugin Variables since the Job Configuration page is ONLY run on the master and has no access to the slave.
  • bugfix Bug-fixes:
    1. Fixed Broken links in Help Files
    2. Fixed misused variables (evaluatedSessionFilename instead of evaluatedZapSettingsDir) of ZAPDriver.java
    3. Correct improper use of JIRA Extension parameters
  • info Usability Improvements:
    • Updated all affected help files
    • Created the webapp folder
    • Established clearer distinction between the ZAP Installation Directory and ZAP Home Directory
  • info Updated LICENSE and README information.

See Full Version History

License

The MIT License (MIT)

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.

See License