How to build an extension that depends on an addon

26 views
Skip to first unread message

Owen Mooney

unread,
Sep 13, 2023, 5:59:04 AM9/13/23
to ZAP Developer Group
Hi all,

Since the spider component has been changed to work as an addon, what is the suggested way to build an extension that needs to interact with it?

I've hacked together a solution where I copy the spider addon .zap file into my project directory, and that seems to work fine, but is there a more idiomatic way to do this? I noticed that in the extensions repo, the spider addon has the property zap.maven.publish set to true, but there is no corresponding package in the maven repos, is there a plan to publish it at some stage?

Cheers,
Owen M.

thc...@gmail.com

unread,
Sep 14, 2023, 1:58:56 AM9/14/23
to zaproxy...@googlegroups.com
Hi.

Currently the add-ons are only released to Maven Central if and when needed.

We'll make sure the Spider add-on is available soon.


Just curiosity:
- How are you building your add-on?
- Could you provide details about your use case?


Best regards.

Owen Mooney

unread,
Sep 14, 2023, 6:48:58 AM9/14/23
to ZAP Developer Group
Hi,

Great to hear that the Spider add-on will be available on Maven, I'll keep an eye out.

We're building the addon based on the old simpleextension example (I think that's what it was called). We just updated the gradle build file to suit.

The functionality it includes is a bunch of API endpoints to retrieve large volumes of data in a more efficient way, mainly sitemap/crawl data across multiple scans (hence the dependence on the spider component/addon)

Cheers,
Owen M.

thc...@gmail.com

unread,
Sep 21, 2023, 12:34:41 PM9/21/23
to zaproxy...@googlegroups.com
Thank you for the answers!


The Spider is now available with the following coordinates:
org.zaproxy.addon:spider:0.6.0

Let us know if it works fine for you (it's possible we might need to
release other add-ons that the Spider depends on…).

Bet regards.
Reply all
Reply to author
Forward
0 new messages