Hello ZAP group :)
I'm working on an active rule script that runs just fine in local ZAP GUI, but once running within an automation framework, the script actually runs and finds alerts(I know that due to console.logs along the script), but then it suddenly goes "An error occurred with the script: CustomScript. Error: Read timed out", and no report is created for the scan.
I've tried changing vars for connection timeout and such, but without success.
Would be glad if someone could share some insight on this.
There's really nothing special with the script or the automation yaml, as I'm using the following job to import it:
- parameters:
name: "CustomScript"
type: "active"
action: "add"
engine: "ECMAScript : Graal.js"
source: "/my-script-path"
type: script