nexpose rest api的基本非正式实现
nexpose-rest的Python项目详细描述
项目标题
为nexpose rest接口自动生成简单的python客户端,目前只支持get。
开始
pip install nexpose-rest
from nexpose_rest import nexpose
c = nexpose.Configuration('https://nexpose.local', 'username', 'password')
if nexpose.testConnection(c):
print "Connection is working!"
print nexpose.getAssets(c)
许可证
这个项目是根据麻省理工学院的许可证授权的-请参见LICENSE文件以了解详细信息