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

Allow import scan to return scan ID when available #223

Merged
merged 2 commits into from
May 5, 2016

Conversation

gschneider-r7
Copy link
Contributor

@gschneider-r7 gschneider-r7 commented Apr 29, 2016

Resolves #208

This will return a scan ID as an integer if it is present in the response body. The scan ID will be returned from the import scan request in an upcoming release of Nexpose (6.2.6).

This shouldn't break any existing scripts since no one ever relied on the return value (it would raise an exception on failure). For pre-6.2.6 versions of Nexpose, an empty string will still be returned.

This is technically a breaking change to the API due to return type changing, though.

@gschneider-r7 gschneider-r7 modified the milestone: 4.0.0 May 3, 2016
@sgreen-r7 sgreen-r7 merged commit 71caed5 into master May 5, 2016
@sgreen-r7 sgreen-r7 deleted the import_scan_return_id branch May 5, 2016 19:48
@gschneider-r7 gschneider-r7 restored the import_scan_return_id branch May 5, 2016 19:56
@sgreen-r7 sgreen-r7 deleted the import_scan_return_id branch May 5, 2016 20:00
@sgreen-r7 sgreen-r7 restored the import_scan_return_id branch May 5, 2016 20:00
@sgreen-r7 sgreen-r7 deleted the import_scan_return_id branch May 12, 2016 21:34
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.

2 participants