Skip to main content

Python REST API Wrapper for IBM/HCL Appscan, a tool which helps scan and report on website and mobile app vulnerabilities.

Project description

About the Module

This python module is used in conjunction with IBM Appscan Enterprise REST API, and allows anyone to do a multitude of things with simple python code. If you would like something added to the program, you may make a pull request, or request that it be added in the issues section.

Legal Disclaimer

Copyright 2022, by the California Institute of Technology. ALL RIGHTS RESERVED. United States Government Sponsorship acknowledged. Any commercial use must be negotiated with the Office of Technology Transfer at the California Institute of Technology.

This software may be subject to U.S. export control laws. By accepting this software, the user agrees to comply with all applicable U.S. export laws and regulations. User has the responsibility to obtain export licenses, or other export authority as may be required before exporting such information to foreign countries or providing access to foreign persons.

Appscan Version Requirements

Your version of Appscan should be able to support the requisite API calls made by the library. This library is tested with Appscan v9.8.0+, however it is compatible with lower versions (though ymmv).

Dependencies

  • Python 3.5 or higher
  • requests
  • beautifulsoup4
  • pytest

Can be installed with:

git clone https://github.com/arcsector/pyappscan.git
cd pyappscan/
sudo python3 setup.py install

How to Use

Use this module by importing the class first, then calling the method you would like to use. It is initiazized with the url to the appscan api, followed by the username, password, featurekey, and ssl cert path (for more information on the feature key, please look at the appscan api docs, which give different options. The default is AppscanEnterpriseUser). Usage:

from pyappscan import create_engine
myClass = create_engine(
  'https://route-to-appscan-api.com:443/ase/api',
  username='user',
  password='pass',
  key='AppscanEnterpriseUser',
  verify='/var/www/mycerts/appscancert.crt'
)

# We can also use an API key to login
myClass = create_engine(
  'https://route-to-appscan-api.com:443/ase/api',
  apikey="ac6719683d871e173961ff",
  secretkey="secret-key",
  verify='/var/www/mycerts/appscancert.crt'
)

Documentation

Check the Documentation for more information on class methods, return types, and API docs.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyappscan-1.0.1.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyappscan-1.0.1-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file pyappscan-1.0.1.tar.gz.

File metadata

  • Download URL: pyappscan-1.0.1.tar.gz
  • Upload date:
  • Size: 18.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for pyappscan-1.0.1.tar.gz
Algorithm Hash digest
SHA256 2324132951f41558b6e3903aa3228f9ed2a400e5bf98eee3a33d3ac18dec07b4
MD5 f0d2eaac81ef2f96c7bd8ce45f985530
BLAKE2b-256 200ec884d13dc7d695420094cdf53b5adbbb1773ac0b5c23371b941981daba43

See more details on using hashes here.

File details

Details for the file pyappscan-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyappscan-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.13

File hashes

Hashes for pyappscan-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 888492a2001892d26a30a70410a3db6baeb4aa3c035702fefd7d8a186c972a21
MD5 6fd08214222217b4e126507d11ff8c8d
BLAKE2b-256 adb0d8229996c0250cca081a34c773255950d24a0840fb70db0b4b814efb5a42

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page