-
Notifications
You must be signed in to change notification settings - Fork 24.9k
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
Make credentials mandatory when launching x-pack/migrate #33972
Conversation
Pinging @elastic/es-security |
Thank @anuptripathi4u The change looks good. We do like these sorts of fixes to have an accompanying test case. An appropriate test would to be add something like this to
Would you be able to add that? |
@elasticmachine test this please |
@anuptripathi4u The issue is that if you specify a particular test case to run, then you can only run the project that includes that test class. You probably want to run:
|
Thanks @tvernum . Tests work. Added commit to the pull request. |
Made credentials mandatory for xpack. Closes elastic#29847. The x-pack user and roles APIs aren't available unless security is enabled, so the tool should always be called with the -u and -p options specified.
1eb1d7e
to
7b54356
Compare
Hi @tvernum . I've squashed the commits. |
Hi @anuptripathi4u Thanks. In general we prefer that you just do regular merges, and don't squash commits, as it breaks the github review history. |
@elasticmachine test this please. |
@anuptripathi4u I'm going to close this PR and open a new branch from your commit, so I can get CI working. |
Made credentials mandatory for x-pack. Closes #29847.
The x-pack user and roles APIs aren't available unless security is enabled, so the tool should always be called with the -u and -p options specified.