Export/Import functionality.
| exportSitesTree (filePath* ) | Exports the Sites Tree in the Sites Tree YAML format. |
| importHar (filePath* ) | Imports a HAR file. |
| importModsec2Logs (filePath* ) | Imports ModSecurity2 logs from the file with the given file system path. |
| importUrls (filePath* ) | Imports URLs (one per line) from the file with the given file system path. |
| importZapLogs (filePath* ) | Imports previously exported ZAP messages from the file with the given file system path. |
| pruneSitesTree (filePath* ) | Prunes the Sites Tree based on a file in the Sites Tree YAML format. |
| exportHar (baseurl start count ) | Gets the HTTP messages sent through/by ZAP, in HAR format, optionally filtered by URL and paginated with 'start' position and 'count' of messages |
| exportHarById (ids* ) | Gets the HTTP messages with the given IDs, in HAR format. |
| sendHarRequest (request* followRedirects ) | Sends the first HAR request entry, optionally following redirections. Returns, in HAR format, the request sent and response received and followed redirections, if any. The Mode is enforced when sending the request (and following redirections), custom manual requests are not allowed in 'Safe' mode nor in 'Protected' mode if out of scope. |