.. image:: https://img.shields.io/pypi/v/webinspectapi.svg
:target: https://pypi.org/project/webinspectapi
.. image:: https://img.shields.io/pypi/pyversions/webinspectapi.svg
.. image:: https://img.shields.io/travis/webbreaker/webinspectapi/master.svg
:target: http://travis-ci.org/webbreaker/webinspectapi
WebInspect API
A Python module to assist with the WebInspect <http://www8.hp.com/us/en/software-solutions/webinspect-dynamic-analysis-dast/>__ RESTFul API to administer scans.
Quick Start
Several quick start options are available:
- Install with pip: ``pip install webinspectapi``
- Build locally: ``python setup.py build``
- `Download the latest release <https://github.com/webbreaker/webinspectapi/releases/latest/>`__.
Example
~~~~~~~
::
# import the package
from webinspectapi import webinspect
# setup webinspect connection information
host = 'http://localhost:8083/webinspect/'
# instantiate the webinspect api wrapper
wi = webinspect.WebInspectApi(host)
# List scans
scans = wi.list_scans()
for scan in scans.data:
print(str(scan['Name']), str(scan['Status']), str(scan['ID']))
Supporting information for each method available can be found in the `documentation <https://webbreaker.github.io/webinspectapi/>`__.
Bugs and Feature Requests
Found something that doesn't seem right or have a feature request? Please open a new issue <https://github.com/webbreaker/webinspectapi/issues/new/>__.
Copyright and License
.. image:: https://img.shields.io/github/license/webbreaker/webinspectapi.svg?style=flat-square