mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[Serverless] Change default value of enabling config of security apps (#162187)
This is a follow-up to https://github.com/elastic/kibana/pull/160671, where the Management plugins were disabled using `contextRef`. The configs for disabling the UI of the security management plugins were added in https://github.com/elastic/kibana/pull/158186. In this PR, they are changed so that they follow the same convention for disabling the Management plugins - setting the default values of the configs to `true` and explicitly setting them to `false` in the `serverless.yml` file. This way, we have a clear view in `serverless.yml` of all plugins/functionalities that have been disabled.
This commit is contained in:
parent
e160ea511d
commit
8fcd199d2a
2 changed files with 8 additions and 3 deletions
|
@ -47,6 +47,11 @@ xpack.cloud_integrations.data_migration.enabled: false
|
|||
data.search.sessions.enabled: false
|
||||
advanced_settings.enabled: false
|
||||
|
||||
# Disable UI of security management plugins
|
||||
xpack.security.ui.userManagementEnabled: false
|
||||
xpack.security.ui.roleManagementEnabled: false
|
||||
xpack.security.ui.roleMappingManagementEnabled: false
|
||||
|
||||
# Enforce restring access to internal APIs see https://github.com/elastic/kibana/issues/151940
|
||||
# server.restrictInternalApis: true
|
||||
# Telemetry enabled by default and not disableable via UI
|
||||
|
|
|
@ -303,9 +303,9 @@ export const ConfigSchema = schema.object({
|
|||
schema.contextRef('serverless'),
|
||||
true,
|
||||
schema.object({
|
||||
userManagementEnabled: schema.boolean({ defaultValue: false }),
|
||||
roleManagementEnabled: schema.boolean({ defaultValue: false }),
|
||||
roleMappingManagementEnabled: schema.boolean({ defaultValue: false }),
|
||||
userManagementEnabled: schema.boolean({ defaultValue: true }),
|
||||
roleManagementEnabled: schema.boolean({ defaultValue: true }),
|
||||
roleMappingManagementEnabled: schema.boolean({ defaultValue: true }),
|
||||
}),
|
||||
schema.never()
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue