rapid7 / nexpose-client-python

DEPRECATED : Rapid7 Nexpose API client library written in Python
https://www.rapid7.com/
BSD 3-Clause "New" or "Revised" License
25 stars 20 forks source link

Asset Risk Factor only available in AssetSummary #30

Open santsys opened 7 years ago

santsys commented 7 years ago

When querying an asset, the risk_factor value is available via an AssetSummary, but not via AssetDetails.

The code in AssetSummary (risk_factor) should probably be in AssetDetails as well.

https://github.com/rapid7/nexpose-client-python/blob/657813478a3ce4012a4d05aad0b19489b708b708/nexpose/nexpose_asset.py#L43

https://github.com/rapid7/nexpose-client-python/blob/657813478a3ce4012a4d05aad0b19489b708b708/nexpose/nexpose_asset.py#L32-L103

Thanks!