ThreadFix Pro API
A Python module to assist with the ThreadFix 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 2020 Denim Group, Ltd. (based upon work by Target Brands, Inc.)
Metadata
Release files for ThreadFixProAPI 1.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ThreadFixProAPI-1.0.13.tar.gz | 22.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ThreadFixProAPI-1.0.13-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 66.1 kB
Release files / ThreadFixProAPI-1.0.13.tar.gz
| Download URL | ThreadFixProAPI-1.0.13.tar.gz |
|---|---|
| Size | 22.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1b8e0a9e1eb789348d2da3a2285c260ec1167578eb6e3797ce0ce2ec5d9374b2
|
|
BLAKE2b-256 checksum How to use checksums |
1cc20467f21e5041255b7cc31dfdd8ab8a4d7694cd333421b213297ba39bb875
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2
|
Release files / ThreadFixProAPI-1.0.13-py2.py3-none-any.whl
| Download URL | ThreadFixProAPI-1.0.13-py2.py3-none-any.whl |
|---|---|
| Size | 43.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
42e9327ca61d851cfbdeebf288f6a014b6297700606a247cf901a57762b541e7
|
|
BLAKE2b-256 checksum How to use checksums |
471cb147d7c31795ebc1a1ba25a23de900420de5fe0767ec9dbb78a3176355d5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.2
|