-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Asset? #17
Comments
Hi, thanks. I can't remember a setting within the console that allows this. What is it you are trying to achieve? |
Basically I have a bunch of IP Address Object in Nexpose. My task to to pull hostname information from another database and associate them with an IP Address. Some of the IP Addresses may have multiple hostnames and not necessarily a primary hostname. |
Ah OK, you want some sort of CMDB or such. Nexpose can't help you there, sorry. Since I don't know your environment or why you would want computers with more than one name, I can't really help. |
No its not a CMDB. Lets say I've already created an asset by IP Address. Lets say that asset has no primary hostname. 2 weeks later I realise that the IP Address relates to 2 FQDNs. How do I go about adding those to the asset as additional hostnames? It seems this endpoint will do it? https://help.rapid7.com/insightvm/en-us/api/index.html#operation/createAsset "Creates or updates an asset with the specified details." |
That particular endpoint is covered with I don't currently have an |
Sorry for the delay on this, it's a lot bigger than I thought it was initially. |
Wow, I can't believe it's coming up to 2 years. Really sorry. The current attempts are changing the hostnames of the assets as required, but the new data is only showing up on subsequent API calls, nothing in the GUI to indicate a new name or additional names. I'll keep playing, but the last API ticket I put in to R7 took 4 years for them the fix! I still have outstanding ones from before that too. |
Give this a go - it's not fully polished as I usually do, but it should work. I would suggest you test it on a dev instance if you can - should be fine though.
Usage is fairly simple:
|
I am finding that after changing an asset my renaming or adding names, when that asset is re-scanned those changes are reverted. |
Hey - Good module.
Is there a way update an existing asset with additional hostnames?
The text was updated successfully, but these errors were encountered: