python库枚举threadfix professional restful api。
threadfixproapi的Python项目详细描述
Threadfix Pro API
一个python模块,用于帮助ThreadFix Professionalrestful api管理扫描工件和整个threadfix漏洞管理。
快速启动
有几个快速启动选项:
- 使用pip安装:pip install threadfixproapi
- 本地生成:python setup.py install
- Download the latest release。
示例
# 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))
每个可用方法的支持信息都可以在documentation中找到。
错误和功能请求
找到了一些看起来不正确或有功能请求的内容?Please open a new issue。
版权和许可
- 版权所有2018 Target Brands,Inc.