File: automation.md | Updated: 11/18/2025
This add-on supports the Automation Framework.
The import job allows you to import HAR (HTTP Archive File), ModSecurity2 Logs, ZAP Messages or a file containing URLs locally.
- type: import # Import a file of requests
parameters:
type: # String: One of ['har', 'modsec2', 'url', 'zap_messages']
fileName: # String: Name of the file containing the data
The export job allows you to export messages in HAR format or as URLs as well as exporting the Sites Tree in the Sites Tree format . The supported sources are:
all: all messages, including those generated by ZAP, supports ‘har’ and ‘url’
history: the manually/proxied messages, supports ‘har’ and ‘url’
sitestree: the ZAP Sites Tree, supports ‘yaml’
The prune job allows you to remove nodes from the Sites Tree using data from a file. The file should use the Sites Tree format .
- type: prune # Prunes nodes from the Sites Tree using Sites Tree data (YAML) from a file
parameters:
fileName: # String: Name/path to the file