Skip to content

Releases: zaproxy/zap-api-java

Version 1.6.0

10 Apr 14:21
v1.6.0
eb35ef2
Compare
Choose a tag to compare

Release Notes

Changes

  • Explicitly disable HTTP caching, to always obtain a fresh response from ZAP.

New APIs

  • WebSockets ("websocket").

Available Libraries

The following libraries are available in this release:

  • zap-api-1.6.0.jar - contains Java API client implementation and its dependencies, ideally to run as standalone library;
  • zap-clientapi-1.6.0.jar - contains just the Java API client implementation (similar to library available in Maven Central);
  • zap-clientapi-ant-1.6.0.jar - contains just the Ant tasks that wrap Java API client implementation.

Intended for use with OWASP ZAP version 2.7.0 and above (while it's compatible with older ZAP versions new APIs/features will not work).

Version 1.5.0

30 Nov 17:43
v1.5.0
efddc5d
Compare
Choose a tag to compare

Release Notes

Updated APIs

  • Core APIs updated for ZAP version 2.7.0.

Available Libraries

The following libraries are available in this release:

  • zap-api-1.5.0.jar - contains Java API client implementation and its dependencies, ideally to run as standalone library;
  • zap-clientapi-1.5.0.jar - contains just the Java API client implementation (similar to library available in Maven Central);
  • zap-clientapi-ant-1.5.0.jar - contains just the Ant tasks that wrap Java API client implementation.

Intended for use with OWASP ZAP version 2.7.0 and above (while it's compatible with older ZAP versions new APIs/features will not work).

Version 1.4.0

13 Jul 09:53
v1.4.0
3f48801
Compare
Choose a tag to compare

Release Notes

Ant Tasks

  • New task to create ZAP reports:
    <!-- Defined the task: -->
    <taskdef name="reportTask" classname="org.zaproxy.clientapi.ant.ReportTask" />
    <!-- Call the task: -->
    <reportTask zapAddress="localhost" zapPort="8080" apikey="API-KEY"
        type="html" file="report.html" overwrite="true" />
        <!--
            type - the type/format of the report (e.g. HTML, XML, MD), defaults to HTML.
            file - where the report should be created (can be an absolute path, if relative it is resolved against the build directory).
            overwrite - if the file should be overwritten.
        -->

Available Libraries

The following libraries are available in this release:

  • zap-clientapi-ant-1.4.0.jar - contains just the Ant tasks that wrap Java API client implementation.

Intended for use with OWASP ZAP version 2.6.0 and above (while it's compatible with older ZAP versions new APIs/features will not work).

Version 1.3.0

23 Jun 15:40
v1.3.0
58160ea
Compare
Choose a tag to compare

Release Notes

New APIs

  • Import files containing URLs ("importurls").
  • OpenAPI Support ("openapi").
  • Replacer ("replacer").

Ant Tasks

  • Update scan tasks to wait for the corresponding scan to finish.

Available Libraries

The following libraries are available in this release:

  • zap-api-1.3.0.jar - contains Java API client implementation and its dependencies, ideally to run as standalone library;
  • zap-clientapi-1.3.0.jar - contains just the Java API client implementation (similar to library available in Maven Central);
  • zap-clientapi-ant-1.3.0.jar - contains just the Ant tasks that wrap Java API client implementation.

Intended for use with OWASP ZAP version 2.6.0 and above (while it's compatible with older ZAP versions new APIs/features will not work).

Version 1.2.0

29 Mar 11:06
v1.2.0
d0bb0d8
Compare
Choose a tag to compare

Release Notes

Updated APIs

  • Core APIs updated for ZAP version 2.6.0.
  • AJAX Spider API
    • Allows to obtain the full results of a scan, messages in/out of scope and message with I/O errors.

Available Libraries

The following libraries are available in this release:

  • zap-api-1.2.0.jar - contains Java API client implementation and its dependencies, ideally to run as standalone library;
  • zap-clientapi-1.2.0.jar - contains just the Java API client implementation (similar to library available in Maven Central);
  • zap-clientapi-ant-1.2.0.jar - contains just the Ant tasks that wrap Java API client implementation.

Intended for use with OWASP ZAP version 2.6.0 and above (while it's compatible with older ZAP versions new APIs/features will not work).

Version 1.1.1

23 Mar 12:38
v1.1.1
51d29b8
Compare
Choose a tag to compare

Release Notes

Bug Fixes

  • Fixed a bug that prevented the new API methods (that don't require the API key) from being used with ZAP versions <= 2.5.0.

Available Libraries

The following libraries are available in this release:

  • zap-api-1.1.1.jar - contains Java API client implementation and its dependencies, ideally to run as standalone library;
  • zap-clientapi-1.1.1.jar - contains just the Java API client implementation (similar to library available in Maven Central);
  • zap-clientapi-ant-1.1.1.jar - contains just the Ant tasks that wrap Java API client implementation.

Intended for use with OWASP ZAP version 2.5.0 and above.

Version 1.1.0

23 Mar 12:38
v1.1.0
Compare
Choose a tag to compare

Release Notes

Enhancements

  • The ClientApi now allows to set the API key through the constructor, which ensures that the API key is sent whenever required. The API methods that allowed to pass the API key were deprecated in favour of using the new constructor.
  • It's now possible to specify the API key in all Ant tasks.
  • It's now possible to obtain the keys of the values of an ApiResponseSet (also, deprecated unused/unnecessary constructor and method).
  • The Alert now exposes the alert ID, message ID and scanner ID.
  • Added confidence "False Positive" (enum Alert.Confidence).
  • Alert and AlertTask now use name instead of alert for the name of the alert (zaproxy/zaproxy#1341), older methods were deprecated.

Bug Fixes

New APIs

Updated APIs

  • AJAX Spider API
    • Allows to scan a context, as a user and just a subtree.
  • Selenium API
    • Allows to choose which Firefox binary is used and set the path to geckodriver.

Available Libraries

The following libraries are available in this release:

  • zap-api-1.1.0.jar - contains Java API client implementation and its dependencies, ideally to run as standalone library;
  • zap-clientapi-1.1.0.jar - contains just the Java API client implementation (similar to library available in Maven Central);
  • zap-clientapi-ant-1.1.0.jar - contains just the Ant tasks that wrap Java API client implementation.

Intended for use with OWASP ZAP version 2.5.0 and above.

Version 1.0.0

03 Jun 11:05
v1.0.0
Compare
Choose a tag to compare

The following libraries are available in this release:

  • zap-api-1.0.0.jar - contains Java API client implementation and its dependencies, ideally to run as standalone library;
  • zap-clientapi-1.0.0.jar - contains just the Java API client implementation (similar to library available in Maven Central);
  • zap-clientapi-ant-1.0.0.jar - contains just the Ant tasks that wrap Java API client implementation.

Intended for use with OWASP ZAP version 2.5.0 and above.