-
Notifications
You must be signed in to change notification settings - Fork 529
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
fix: removing outdated code in Kibana client auth #4495
base: main
Are you sure you want to change the base?
Conversation
Bug - GuidelinesThese guidelines serve as a reminder set of considerations when addressing a bug in the code. Documentation and Context
Code Standards and Practices
Testing
Additional Checks
|
Just noting so that we do not forget, if we are dropping support for user/password we need to update our documentation in this repo and in https://github.com/elastic/DaC-Reference. |
help="Elastic Cloud providers: basic and saml (for SSO)"), | ||
'provider_name': click.Option(['--provider-name'], default=getdefault('provider_name'), | ||
help="Elastic Cloud providers: cloud-basic and cloud-saml (for SSO)"), | ||
'cloud_id': click.Option(['--cloud-id'], default=getdefault('cloud_id'), help="ID of the cloud instance."), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason why we dont keep username/password etc for legacy support or local stacks?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kibana API does not officially support username/password auth (docs), and has an explicit warning:
Access to internal Kibana API endpoints will be restricted in 9.0. Please move any integrations to publicly documented APIs.
I suggest we drop the support for username/password, and if there are requests from the customers, we bring this auth method back, but mark it clearly as a not-recommended-way
Pull Request
Issue link(s):
Summary - What I changed
Kibana
class to useapi_key
How To Test
Checklist
bug
,enhancement
,schema
,maintenance
,Rule: New
,Rule: Deprecation
,Rule: Tuning
,Hunt: New
, orHunt: Tuning
so guidelines can be generatedmeta:rapid-merge
label if planning to merge within 24 hoursContributor checklist