Robot Framework Library for the OWASP ZAP Application Vulnerability Scanner
Project description
RoboZap
Documentation for test library RoboZap
.
Installing
- Install RoboZap libraries into the virtualenv with
pip install RoboZap
Importing
Arguments: [proxy]
ZAP Library can be imported with one argument
Arguments:
- proxy
: Proxy is required to initialize the ZAP Proxy at that location. Must include PortSpec
- port
: Port is required to be set as a global/suite variable for the rest of the suite to access
location
Examples:
| = Keyword Definition = | = Description = |
| Library
|RoboZap | proxy| port |
Major Keywords
Start Headless Zap
Arguments: [path]
Start OWASP ZAP without a GUI
Examples:
| start headless zap | path |
Start GUI Zap
Arguments: [path]
Start OWASP ZAP without a GUI
Examples:
| start gui zap | path |
Zap Define Context
Arguments: [contextname, url]
Add Target to a context and use the context to perform all scanning/spidering operations
Examples:
| zap define context | contextname | target |
Zap Open Url
Arguments: [url]
Invoke URLOpen with ZAP
Examples:
| zap open url | target |
Zap Scan Status
Arguments: [scan_id]
Fetches the status for the spider id provided by the user
Examples:
| zap scan status | scan_id |
Zap Shutdown
Arguments: []
Shutdown process for ZAP Scanner
Zap Spider Status
Arguments: [spider_id]
Fetches the status for the spider id provided by the user
Examples:
| zap spider status | spider_id |
Zap Start Ascan
Arguments: [context, url, policy=Default Policy]
Initiates ZAP Active Scan on the target url and context
Examples:
| zap start ascan | context | url |
Zap Start Spider
Arguments: [target, url]
Start ZAP Spider with ZAP's inbuilt spider mode
Examples:
| zap start spider | target | url |
Zap Write To Json File
Arguments: [scan_id]
Fetches all the results from zap.core.alerts() and writes to json file.
Examples:
| zap write to json | scan_id |
Zap Generate Report (Export Report Plugin)
Arguments: [file_path, report_format, report_title, report_author]
Uses the Export Report
from ZAP to generate reports in multiple formats.
- file_path: needs to be an absolute path and include the file name with extension.
- format: can be
json|xml|xhtml|pdf|doc
- report title: Any title you deem fit for the exported report
- report auhor: Any name you want for the author of the report
Examples:
| zap export report | file_path | format | report title | report author
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file RoboZap-1.3.3.tar.gz
.
File metadata
- Download URL: RoboZap-1.3.3.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d3fb6824eccc367ca4d2672fb987c811c8df15dbfde7f7121cb6431ccbc716e |
|
MD5 | c039de77e6fa8df303d20a0e2f6522ba |
|
BLAKE2b-256 | 9214e1158ef6183a307fd7dd44dc98267065397ff86461824b8a8e0e152557b9 |
File details
Details for the file RoboZap-1.3.3-py3-none-any.whl
.
File metadata
- Download URL: RoboZap-1.3.3-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.7.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b3290628d1b41431020c1f19f1a80992c31b0ddb0ee8296478db3f26035be57 |
|
MD5 | 66dede63d6ebcc05b5265162cc3024a9 |
|
BLAKE2b-256 | 14441dbdcbe60581bd5243407e9939fa4fd95c2337e42b0c3ce31a5512c76b32 |