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

[8.x] [Authc] Security authentication config (#205367) #205625

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 8.x:

Questions ?

Please refer to the Backport tool documentation

## Summary

We cannot support `security.authc` evolvement for versioned routes,
since authentication is passed down to hapi during route registration
and it is tight up with the authentication strategy defined. Adjusted
the code to pass `auth` option correctly.

https://github.com/elastic/kibana/blob/e5cf28bc27b6ca80c92c44a4fc805adce857b518/packages/core/http/core-http-server-internal/src/http_server.ts#L378-L393

### Checklist
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

__Fixes: https://github.com/elastic/kibana/issues/205360__

(cherry picked from commit 26cc597)
@kibanamachine kibanamachine merged commit b8ea6b4 into elastic:8.x Jan 6, 2025
11 checks passed
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] FTR Configs #71 / Index Management app Index Management: index templates tab Index template tab "after each" hook for "can create an index template with logsdb index mode"
  • [job] [logs] FTR Configs #71 / Index Management app Index Management: index templates tab Index template tab can create an index template with logsdb index mode

Metrics [docs]

Unknown metric groups

References to deprecated APIs

id before after diff
@kbn/core 615 613 -2
security 49 47 -2
total -4

cc @elena-shostak

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants