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

Can be installed with:

pip install --user pyappscan

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.2.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.2-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyappscan-1.0.2.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.2.tar.gz
Algorithm Hash digest
SHA256 e178efe2010bfc9862cc47766ceb1f5d8e7fd3b87951506b9248ba92b3866921
MD5 75fd7e71ffe2c3460d8fda4483644325
BLAKE2b-256 06451d28e83800e865b53be7b56bef58a1a079920325d35835842123521863a0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyappscan-1.0.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 60c1a5f693b95a544561807f57cb6700cad2131fb76a54241bbad1e6b9b245f3
MD5 559ea4ef16e33066accac04dad91697e
BLAKE2b-256 4d68ed086b20009c587bd592993fa8aea5c93fa4701d89c2028214ae74a2255c

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