Skip to main content

Python library enumerating the ThreadFix Professional RESTFul API.

Project description

https://img.shields.io/pypi/v/threadfixproapi.svg https://img.shields.io/pypi/pyversions/threadfixproapi.svg https://img.shields.io/travis/target/threadfixproapi/master.svg

ThreadFix Pro API

A Python module to assist with the ThreadFix Professional RESTFul API to administer scan artifacts and overall ThreadFix vulnerability administration.

Quick Start

Several quick start options are available:

Example

# import the package
from threadfixproapi import threadfixpro

# setup threadfix connection information
host = 'https://127.0.0.1:8443/threadfix/'
api_key = 'your_api_key_from_threadfix_professional'

# initialize threadfix pro api module
tfp = threadfixpro.ThreadFixProApi(host, api_key)

# If you need to disable certificate verification.
# tfp = threadfixpro.ThreadFixProApi(host, api_key, verify_ssl=False)

# List your threadfix pro teams
teams = tfp.list_teams()
if teams.success:
    print("{}".format(teams.data))

    for team in teams.data:
        print(team['name'])  # Print the name of each team
else:
    print("ERROR: {}".format(teams.message))

Supporting information for each method available can be found in the documentation.

Bugs and Feature Requests

Found something that doesn’t seem right or have a feature request? Please open a new issue.

Project details


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
threadfixproapi-1.0.2-py2.py3-none-any.whl (7.9 kB) Copy SHA256 hash SHA256 Wheel py2.py3
threadfixproapi-1.0.2.zip (9.8 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page