-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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][Ingest Manager][Endpoint] Optional ingest manager #71198
Conversation
Pinging @elastic/endpoint-management (Team:Endpoint Management) |
Pinging @elastic/endpoint-response (Team:Endpoint Response) |
Pinging @elastic/endpoint-app-team (Feature:Endpoint) |
@elasticmachine merge upstream |
👀 |
'endpoint', | ||
ConfigureEndpointPackageConfig | ||
); | ||
if (plugins.ingestManager) { |
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.
I think the problem with tests failing without this conditional should have been caught by typescript. Is it because we should have have also set the ingestManager
StartPlugins
type as optional? https://github.com/elastic/kibana/blob/master/x-pack/plugins/security_solution/public/types.ts#L35
@paul-tavares @XavierM @kevinlog thoughts?
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.
@peluja1012 yeah, that sounds like it needs to be set to optional in the Type
FYI - #70911 |
Also related: feb1202 |
@elasticmachine merge upstream |
@@ -33,6 +33,7 @@ | |||
"requiredBundles": [ | |||
"kibanaUtils", | |||
"esUiShared", | |||
"kibanaReact" | |||
"kibanaReact", | |||
"ingestManager" |
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 is a new feature from kibana platform, see #70911
This allows us to still load the shared code that we import from ingestManager
without the plugin actually being loaded. So, since "ingestManager"
is optional we can either load it or not and the Administration section will handle accordingly.
There are existing tests that already checked the behavior of the Admin section with or without ingestManager either within Space or if the plugin is loaded at all.
@madirey @paul-tavares @alexk307 @peluja1012 I believe this one is ready to go. The kibana platform PR is in #70911 I pulled it down, tested it - Admin and other Security pages are working as expected. There are already tests in place to check the Admin pages when Ingest is disabled. FYI @XavierM |
Something else we can add here is a suite that doesn't enable I put this up as a quick experiment with taking the My thought is that we could set up a similar suite and take this out of the config -https://github.com/elastic/kibana/pull/71370/files#diff-502bf387cf33d051febd25bc823df26dL49 Wondering what some thoughts are on approaches - @paul-tavares @XavierM ? |
@kevinlog I know you're referring to UI functional tests, but just want to point out that we have something similar for the server-side APIs: https://github.com/elastic/kibana/tree/master/x-pack/test/endpoint_api_integration_no_ingest |
💚 Build SucceededBuild metrics
History
To update your PR or re-run it, just comment with: |
* master: (78 commits) Bump lodash package version (elastic#71392) refactor: 💡 use allow-list in AppArch codebase (elastic#71400) improve bugfix 7198 test stability (elastic#71250) [Security Solution][Ingest Manager][Endpoint] Optional ingest manager (elastic#71198) [Metrics UI] Round metric threshold time buckets to nearest unit (elastic#71172) [Security Solution][Endpoint] Policy creation callback fixes + Improved error handling in user manifest loop (elastic#71269) [Security Solution] Allow to configure Event Renderers settings (elastic#69693) Fix a11y keyboard overlay (elastic#71214) [APM] UI text updates (elastic#71333) [Logs UI] Limit `extendDatemath` to valid ranges (elastic#71113) [SIEM] fix tooltip of notes (elastic#71342) address index templates feedback (elastic#71353) Upgrade EUI to v26.3.1 (elastic#70243) [build] Creates Linux aarch64 archive (elastic#69165) [SIEM][Detection Engine] Fixes skipped tests (elastic#71347) [SIEM][Detection Engine][Lists] Adds read_privileges route for lists and list items [kbn/optimizer] implement "requiredBundles" property of KP plugins (elastic#70911) [Security Solution][Exceptions] - Exceptions modal pt 2 (elastic#70886) [ML] DF Analytics: stop status polling when job stopped (elastic#71159) [SIEM][CASE] IBM Resilient Connector (elastic#66385) ...
Summary
Makes ingestManager an optional dependency for securitySolution.
Ingest entirely disabled:
Ingest enabled:
Checklist
N/A
For maintainers