Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Functionality for Debugging Active Rules Scripts

25 views
Skip to first unread message

koirala sanskrit

unread,
Nov 17, 2024, 10:46:42 PM11/17/24
to ZAP Developer Group
I find it really difficult to debug Active Rule scripts, as for those to run, the active scanner should be invoked. However, I just want to test the script. I see no easy way to do that.

So I wanted to add a checkbox on the CustomScanDialog.java. Like this  👇

Screenshot 2024-11-18 090936.png
I wanted to just execute scripts (not other scans). Can anyone guide me to do it? (documentation of the code, or else, because I am lost at reading it).

kingthorin+zap

unread,
Nov 17, 2024, 10:50:21 PM11/17/24
to ZAP Developer Group
There’s nothing need to change the UI. Just create a scan policy that only includes script scan rules. Or even better if it’s a first class script rule create a policy only for it. 

kingthorin+zap

unread,
Nov 18, 2024, 6:39:48 AM11/18/24
to ZAP Developer Group
Reply all
Reply to author
Forward
0 new messages