Skip to content
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

Implement EngineActivityRequest Call #16

Closed
mdaines-r7 opened this issue Sep 6, 2012 · 2 comments
Closed

Implement EngineActivityRequest Call #16

mdaines-r7 opened this issue Sep 6, 2012 · 2 comments
Labels

Comments

@mdaines-r7
Copy link
Contributor

Implement the EngineActivityRequest call to the Nexpose API, which provides a list of current scan activities for a specific Scan Engine.

@mdaines-r7
Copy link
Contributor Author

With a parser written for ScanSummary DTDs, it will apply to all of the following calls: ScanActivityRequest, ScanStatisticsRequest, SiteScanHistoryRequest, and EngineActivityRequest. These should all be refactored to use the same response object.

@mdaines-r7
Copy link
Contributor Author

Pushed and updated gem version to 0.1.3. Will push to rubygems after soliciting comments.

Workflow should now be like this:

scans = nsc.engine_activity(20)
scans.each do |scan|
puts scan.scan_id
puts scan.status
puts scan.nodes.live
puts scan.vulnerabilities.vuln_exploit.count
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant