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

[7.17] Change deprecation warning for elasticsearch.username #124717

Conversation

jportner
Copy link
Contributor

@jportner jportner commented Feb 4, 2022

Resolves #124691.

The Upgrade Assistant tells users to use the Elasticsearch service account CLI to create a service account token. We have discovered that this is the wrong approach, because it will only work for a single ES node, so we should instead direct users to use the API to create a service account token.

Here is what the deprecation looks like in the Upgrade Assistant with these changes:

image


Release note: The upgrade assistant guidance for elasticsearch.username deprecation has been updated to reflect that service account tokens should only be created using the Elasticsearch API.

@jportner jportner added release_note:fix Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! backport:skip This commit does not require backporting v7.17.1 labels Feb 4, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security (Team:Security)

@jportner jportner linked an issue Feb 4, 2022 that may be closed by this pull request
Note, I ran the i18n check script locally and it didn't catch any
changes. I am leaving this commit as-is to see if CI catches the
changes.
@jportner jportner force-pushed the issue-124691-fix-elasticsearch-username-deprecation-warning branch from 4e4f41a to 781c223 Compare February 4, 2022 17:21
@jportner jportner requested a review from a team February 4, 2022 19:37
@jportner jportner enabled auto-merge (squash) February 7, 2022 05:45
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@jportner jportner merged commit 0399402 into elastic:7.17 Feb 7, 2022
@jportner jportner deleted the issue-124691-fix-elasticsearch-username-deprecation-warning branch February 7, 2022 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting release_note:fix Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! v7.17.1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Suggestion to create service account tokens using CLI is wrong
4 participants