Closed jwaddel1 closed 6 years ago
Thank you for bringing this to our attention, @jwaddel1. We are looking into the issue. Just a point of clarification, this issue relates to the APIv3 public API and not the nexpose-client gem. Issues in this repository should apply to the gem client.
We have diagnosed the issue and a fix will be released soon. Feel free to open a ticket/case with Rapid7 support.
api/3/assets/60/software returns a HTTP.500 error. I have validated via the GUI that devid=60 exists and that it has installed software. I am using my InsightVM global administrator account for authentication (so permissions should not be an issue).
Code to reproduce
I used the following powershell code. Invoke-RestMethod -ContentType application/json -Method GET -Uri https://vhspr7nexpose.vcuhs.mcvh-vcu.edu:3780/api/3/assets/60 -Headers @{ Authorization ="Basic **REDACTED**"}
Context
I first tried to use this uri on 3/1/2018, it has never worked (since then).
Your Environment
Running on Windows 10 using powershell 5.0.10586.672.
Attachments
Request/Response: assets_60_software.txt Truncated NSC.log nsc.zip