This add-on supports the Automation Framework.
The script job allows you to execute various actions with scripts:
Adds the specified script to ZAP. Scripts are enabled but not configured to be loaded when ZAP restarts.
By default the default script engine for the file extension (if any) will be used - this may be overridden using the ’engine’ parameter.
Removes the specified script from ZAP.
Runs the specified standalone script to ZAP. The script must already be available in ZAP, for example added using the ‘add’ action.
Not all of the parameters are valid for all of the actions, see above for details.
- type: script parameters: action: # String: The executed action - available actions: add, remove, run type: # String: The type of the script engine: # String: The script engine to use - can be used to override the default engine for the file extension name: # String: The name of the script, defaults to the file name file: # String: The full file path, must be readable