Skip to content

Nexpose Client v7.0.0

Compare
Choose a tag to compare
@sgreen-r7 sgreen-r7 released this 31 Aug 21:04
· 118 commits to master since this release

Welcome to Nexpose-client 7.0.0!!

There is a lot going on in this update, so please take some time to read through the release notes. Feel free to browse the new Changelog as well, for a more granular view.
Let's begin!


Ability to set Http Timeouts:

  • Added :timeout and :open_timeout to Nexpose::Connection.
    • Default for both :timeout and :open_timeout are set to 120 seconds.
    • The default values will populate down to anything that uses a http(s) timeouts.
    • Added comments with links to Ruby docs for further info about how the different http timeouts are used.
  • Removed the behavior of automatically retrying a request on a Timeout.
  • The following issues should now be able to edit their Timeout values and have a clear path to address their concern(s):
  • Updated Documentation with info about how to use the Timeouts.

Updates to Credentials:

  • Updates across all three of these PRs - #287, #288, #289
  • Added Nexpose::CredentialHelper
    • Moved all set_auth_type helper methods to this module.
    • This allows alias to work as intended for both classes which inherit Credential.
    • Setting attributes of the object instead of instance variables like we were previously.
  • Fixed SiteCredentials.test
  • There were duplicate methods for SiteCredentials.copy. Now there are two distinct methods, and both implementations still return the same object.
  • Alias changes for SharedCredentials
    • Alias :user_name ~> :username
    • Alias :permission_elevation_user ~> :privilege_username
    • Alias :permission_elevation_password ~> :privilege_password
    • Alias :permission_elevation_type ~> :privilege_type
  • Added Credential::ElevationType::ENABLE for Cisco Enable/ Privileged Exec

New Scripts Repo:


Bug Fixes:


Other New Features:

  • #279 Added scan_nameto CompletedScan
  • #286 Added LIKE and NOT_LIKE as Filter Options
  • Added logging to $stderr when rescuing uncommon errors, asking users to open Github issues if these errors are seen in the wild.
  • A lot of whitespace/formatting/indentation cleanup.