-
Notifications
You must be signed in to change notification settings - Fork 103
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
Please make engine pool available in ScanData, ScanSummary. #277
Comments
Hi @peterjmcg; Sorry for the delayed response, but just wanted to ask a few questions about what you would want to happen. So I have tested what you're referring to, and yes ScanData/ScanSummary show the While I await some more info from different members of the engineering team, a shortcut is the
sorry for the extra edits |
Thanks for the reply. I only see engine_id in Site. Are you saying that will have engine pool ID if pool is used? |
@peterjmcg yeah, If your normal use case is using your Site's default scan engine (pool in our case); then you should be safely able to assume that everything is going to match up. However, I've been looking at this since I last replied and there a few things we could do in the gem to help make this less "funky". Can you describe your ideal of what you'd like to have happen? Or if your use case is kinda more complicated, I could add some extra stuff in the gem to help out. Let me know either way, thanks again! |
I run a weekly script checking for potential Nexpose problems inc. Incomplete scans (failed or paused). One of the fields in the CSV is Engine ID, in case it was a problem with the engine. The scans mostly use the default engine so that's ok. Our Nexpose admin would probably prefer a Pool or Engine name instead of ID. Mostly we use pools rather than individual engines. |
@peterjmcg is that CSV being generated via some script, or is that something that is being done by hand? If it's a script somebody has written I could offer some suggestions to help strengthen with some extra code to correctly determine if single engine or pool. I only bring that up because Thanks, and let me know if this could possibly help. |
I wrote the script. I can get the engine/pool name from the Connection.engines or Connection.engine_pools. Thanks for your help. The client API would benefit from being able to find which scan template, engine, etc is used in a scan, rather then just the default. I believe I submitted an idea for this. Hopefully it materializes. |
Perfect, thanks @peterjmcg Sorry for the wacky sorta work around, but hopefully some of the new features we're developing in Nexpose will make this easier in the future (this year?). Thanks again, and let us know if you run into any snags or have any further questions. For now I'm going to go ahead and close out this issue if that's cool with you. Keep the ideas coming! |
ScanData and ScanSummary only have engine ID which shows up as -1 for scans which use an engine pool i.e. all of my scans.
The text was updated successfully, but these errors were encountered: