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

Update Nexpose::ScanTemplate methods for device and service discovery #136

Merged
merged 4 commits into from
Mar 17, 2015

Conversation

jhart-r7
Copy link
Contributor

This hopefully cleans up all of the rdoc for the methods related to controlling device/service discovery, as well as naming them to more accurately reflect what they do.

The core of methods themselves have not changed and I am not soliciting feedback for anything that was already there, but please ensure that the new naming scheme is consistent, clear and the documentation is now correct. Because there was some rearranging, it may be hard to review this. Try https://github.com/jhart-r7/nexpose-client/blob/feature/template_doc/lib/nexpose/scan_template.rb#L179-272 instead. Nit-pick away!

def enable_icmp_discovery=(enable)
# Enable/disable ICMP device discovery
# @param [Boolean] enable Enable or disable ICMP device discovery
def enable_icmp_device_discovery=(enable)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renaming from 0.9.7? Should another version be published immediately to reduce breakage?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When this PR is landed, yes, we should release a new version. This PR just makes the method names for enabling/disabling more consistent. In this particular case, it is simply making it more inline with the enable_(tcp|udp)_(device|service)_discovery methods (even though the 'device discovery' part here is technically unnecessary, because there is no "ICMP service discovery")

gschneider-r7 added a commit that referenced this pull request Mar 17, 2015
Update Nexpose::ScanTemplate methods for device and service discovery
@gschneider-r7 gschneider-r7 merged commit 908cbd0 into rapid7:master Mar 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants