-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Security Solution][Endpoint] Add Serverless support to data loading …
…utilities (#166402) ## Summary PR enables the existing data loading utilities/services, used in e2e testing and CLI tools, to support being run against a serverless Env.. Changes include: - `createRuntimeServices()` and the associated methods that create the ES and KBN clients, will now by default add a CA cert to the ES and KBN clients if the URL protocol is `https` - an option was also added to the mothods that allows a developer to turn this behaviour off if necessary (`noCertForSsl`) - `createRuntimeServices()` option `asSuperuser` will NOT attempt to create a new user in ES if it detects its running against serverless. It will instead set the `username` to `system_indices_superuser` - `resolver_generator.js` script was updated so that it can be run against a serverless env. (note: tested only in local dev, not agains cloud environments) - new utility to determine if Kibana is running in serverless mode (`isServerlessKibanaFlavor()`) - Cypress tests that don't require specific user/role were updated to use `system_indices_superuser` as the default username (instead of `elastic`)
- Loading branch information
1 parent
ef020b2
commit a449481
Showing
10 changed files
with
201 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.