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

Improve user input sanitation #2

Open
williamtrelawny opened this issue Aug 19, 2022 · 0 comments
Open

Improve user input sanitation #2

williamtrelawny opened this issue Aug 19, 2022 · 0 comments

Comments

@williamtrelawny
Copy link

At present, the only consequence of bad user input is simply either failure (if "o" or "e" are not selected in the beginning) or failure to create the proper containers after completing. The latter issue is problematic of course, but not detrimental as the user can just destroy containers and try again.

But it would improve UX if the script did basic sanity checking of user input to ensure the script doesn't complete unless:

  • user successfully selected either Opensearch or Elasticsearch; AND
  • user has selected valid version numbers for Graylog, MongoDB, and their indexing backend of choice.
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

No branches or pull requests

1 participant