-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Security Solution] Move endpointdetails into its own middleware function #107632
[Security Solution] Move endpointdetails into its own middleware function #107632
Conversation
Pinging @elastic/security-onboarding-and-lifecycle-mgt (Team:Onboarding and Lifecycle Mgt) |
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.
This looks good to me - thank you for breaking it up.
Can you check if we can remove the ESLint disabled rule for complexity on line 88 now that this is main middleware function is allot simpler?
Yes. I pushed the last bit to remove it. |
💛 Build succeeded, but was flaky
Test FailuresKibana Pipeline / general / Chrome UI Functional Tests.test/functional/apps/management/_index_pattern_create_delete·js.management creating and deleting default index validation can display errorsStandard Out
Stack Trace
Metrics [docs]Async chunks
Unknown metric groupsReferences to deprecated APIs
History
To update your PR or re-run it, just comment with: |
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
…tion (#107632) (#107891) Co-authored-by: Esteban Beltran <[email protected]>
… correctly (#108551) * update endpoint middleware to load data correctly fixes kibana/issues/108497 modifies changes done in /pull/107632 and /pull/108330 * await results fixes /issues/108497 * review comments * Add a test to cover this case fixes /issues/108497 Co-authored-by: Kibana Machine <[email protected]>
… correctly (elastic#108551) * update endpoint middleware to load data correctly fixes kibana/issues/108497 modifies changes done in elastic/pull/107632 and elastic/pull/108330 * await results fixes elastic/issues/108497 * review comments * Add a test to cover this case fixes elastic/issues/108497 Co-authored-by: Kibana Machine <[email protected]>
… correctly (#108551) (#108678) * update endpoint middleware to load data correctly fixes kibana/issues/108497 modifies changes done in /pull/107632 and /pull/108330 * await results fixes /issues/108497 * review comments * Add a test to cover this case fixes /issues/108497 Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Ashokaditya <[email protected]>
Summary
This is the first of a small series of PRs to decouple the endpoint details flyout from its current place in the endpoints tab.
This PR Refactors the endpoint middleware by splitting the main big middleware function into smaller ones.
Checklist
Delete any items that are not applicable to this PR.
For maintainers