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

Extend command line options for managing scanners (9.0) #815

Merged

Conversation

timopollmeier
Copy link
Member

@timopollmeier timopollmeier commented Oct 17, 2019

This extends the command line options --get-scanners, --create-scanner and --modify-scanner to provide more information and accept more scanner types.

Checklist:

The option now also returns the type, host and port of each scanner.
This adds the scanner types "GMP" and "OSP-Sensor" to these options as
well as the option to use the numeric type value used in GMP.
Error messages when using the options are now always sent to stderr and
are more specific about credential issues.
The new types and use of the numeric value are added to the --help
output and man page.
This allows setting the credential of a scanner to an existing one or to
unset the credential.
Instead of numbers the command will now return the types as strings as
accepted by --create-scanner and --modify-sensor.
@timopollmeier timopollmeier marked this pull request as ready for review October 17, 2019 13:03
@mattmundell mattmundell merged commit efec4ae into greenbone:gvmd-9.0 Oct 21, 2019
@timopollmeier timopollmeier deleted the extend-scanners-cli-9.0-2 branch June 9, 2020 06:53
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