Python library enumerating the ThreadFix Professional RESTFul API.
Project description
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:
Install with pip: pip install threadfixproapi
Build locally: python setup.py install
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.
Copyright and License
Copyright 2018 Target Brands, Inc.
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
threadfixproapi-1.0.3.zip
(10.1 kB
view hashes)
Built Distribution
Close
Hashes for threadfixproapi-1.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a27a9c4d5e906ee46fb2529a92afcdb81166fc8785200df5dab63c49db0dfe6f |
|
MD5 | 0e7129ec6561d0aa7d6a3d6502841db1 |
|
BLAKE2b-256 | f8538f2e84c5163f46d4a3b3c76f8c02fd72e21b3d6b8ad5b2e9e6d8aca9a2bb |