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

Site api #135

Merged
merged 130 commits into from
Mar 26, 2015
Merged

Site api #135

merged 130 commits into from
Mar 26, 2015

Conversation

gperez-r7
Copy link
Contributor

This pull request contains the following changes:

  • For all modified classes:
    • Adding methods to serializing to JSON
  • Changes to the Nexpose::Site class:
    • Adding support for specifying asset groups as scan targets
    • Renaming member variables to more clearly represent the data type of the variables
    • Renaming methods for adding/removing scan targets
    • Making requests to new Restful JSON APIs instead of XML APIs.
  • Changes to the Nexpose::Schedule class:
    • Renaming variables
  • Changes to the Nexpose::Credential class:
    • Adding utility methods for creating all currently-support types of credentials.
  • Adding web app credentials to nexpose-client
  • Adding discovery configurations to nexpose-client
  • Adding discovery filters to nexpose-client

TODO:

  • Update existing site method tests
  • Update VCR recordings for new API responses
  • Review code docs
  • Add 100% test coverage for new changes (Optional/Desired)

Scott Green and others added 30 commits February 10, 2015 16:23
Modifying the save method to submit requests to the 2.1 RESTful endpoints. Also renaming public member variables to better reflect the type of data that they will contain.
…methods.

The scan target methods were simplified. Also, the methods were modified to support not only string parameters but also IPRange objects for IP addresses and HostName objects for hostnames. Implemented to_hash and from_hash methods to convert the scan targets between strings and their HostName/IPRange objects.
Adam Bunn and others added 20 commits March 20, 2015 16:49
API updates for Bi-directional engine features
Remove '.success' from 2.1 API reponse
Return a boolean from the reverse_engine_connection method
Force parameter added to allow scheduling of adhoc scans in blackout periods.

NEX-40391
Fix some issues with site loading

NEX-40391
Fix param name for adhocschedule class

NEX-40391
Fix scan_device(s)_with schedule to work properly as I'd moved a line of code I shouldn't have

NEX-40391
Remove some unnecessary changes to site.rb

NEX-40391
Force parameter added to allow scheduling of adhoc scans in blackout periods.

NEX-40391
gschneider-r7 and others added 6 commits March 24, 2015 19:19
MOB-149: Add support for mobile powershell and office 365 connections c...
This commit resolves conflicts introduced by recent changes though
e4e21b0 had already been merged to
master.
…-site-api

cherry-pick: Send the engine-id when calling DiscoveryConnection#save
Update gem to support XML API adding of schedules to adhoc scans
@ugohil-r7 ugohil-r7 merged commit 2f3f6bb into staging/v1 Mar 26, 2015
@gschneider-r7 gschneider-r7 deleted the site-api branch March 27, 2015 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.