-
Notifications
You must be signed in to change notification settings - Fork 324
client certificate setting bypasses password requirements #4378 #5278
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
base: main
Are you sure you want to change the base?
Conversation
…project#4378 Signed-off-by: Asif Bashar <asif.bashar@gmail.com> Signed-off-by: Asif Bashar <asif.bashar@gmail.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5278 +/- ##
==========================================
- Coverage 72.05% 72.02% -0.04%
==========================================
Files 336 336
Lines 22648 22652 +4
Branches 3560 3561 +1
==========================================
- Hits 16320 16315 -5
- Misses 4554 4560 +6
- Partials 1774 1777 +3
🚀 New features to boost your workflow:
|
Thank you for this PR! I am not sure if it is good to hard-code a case for OpenSearch Dashboards. This makes this a breaking change, as the behavior is always changed for OpenSearch Dashboards. What do you think about this proposal: Add a new config option You could then add the DN of the certificate used by OpenSearch dashboards to the configuration. That could look like this:
|
Thanks for your feedback. I will try to implement. |
@asifbashar Are you still working on this PR? |
Based on instructions from Nils , The fix will involve, different set of classes , should I update same PR or or should I create different PR |
You can choose as it is most suitable for you. |
Description
config.yaml example below
With this fix any password from browser will not let user login when above conditions are configured.
Issues Resolved
#4378
Testing
manual testing
Check List
- [] New functionality has been documented- [ ] New Roles/Permissions have a corresponding security dashboards plugin PR- [] API changes companion pull request createdBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.