[8.x] [Advanced Settings] Move security settings validation config (#216440) (#217086)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Advanced Settings] Move security settings validation config
(#216440)](https://github.com/elastic/kibana/pull/216440)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Elena
Stoeva","email":"59341489+ElenaStoeva@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-03-31T14:59:07Z","message":"[Advanced
Settings] Move security settings validation config (#216440)\n\n##
Summary\n\nIn https://github.com/elastic/kibana/pull/170234, we added
validation on\nthe security solution settings in serverless that is
enabled through
the\n`xpack.securitySolution.enableUiSettingsValidations` config
setting. In\nthis PR, we move this setting to
`config/serverless.security.yml` so\nthat it follows the sustainable
architecture
principles.","sha":"b1b8b190bda17b4d51e2db97814161d67cb44730","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Kibana
Management","Team:Kibana Management","release_note:skip","backport
missing","backport:prev-minor","v9.1.0","v8.19.0"],"title":"[Advanced
Settings] Move security settings validation
config","number":216440,"url":"https://github.com/elastic/kibana/pull/216440","mergeCommit":{"message":"[Advanced
Settings] Move security settings validation config (#216440)\n\n##
Summary\n\nIn https://github.com/elastic/kibana/pull/170234, we added
validation on\nthe security solution settings in serverless that is
enabled through
the\n`xpack.securitySolution.enableUiSettingsValidations` config
setting. In\nthis PR, we move this setting to
`config/serverless.security.yml` so\nthat it follows the sustainable
architecture
principles.","sha":"b1b8b190bda17b4d51e2db97814161d67cb44730"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/216440","number":216440,"mergeCommit":{"message":"[Advanced
Settings] Move security settings validation config (#216440)\n\n##
Summary\n\nIn https://github.com/elastic/kibana/pull/170234, we added
validation on\nthe security solution settings in serverless that is
enabled through
the\n`xpack.securitySolution.enableUiSettingsValidations` config
setting. In\nthis PR, we move this setting to
`config/serverless.security.yml` so\nthat it follows the sustainable
architecture
principles.","sha":"b1b8b190bda17b4d51e2db97814161d67cb44730"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
This commit is contained in:
Elena Stoeva 2025-04-14 16:00:36 +01:00 committed by GitHub
parent 0c8a0b29db
commit d603f410df
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -157,3 +157,6 @@ xpack.index_management.enableProjectLevelRetentionChecks: true
# These features are disabled in Serverless until fully tested
xpack.securitySolution.enableExperimental:
- entityStoreDisabled
## Enable uiSettings validations
xpack.securitySolution.enableUiSettingsValidations: true

View file

@ -229,7 +229,6 @@ monitoring.enabled: false
monitoring.ui.enabled: false
## Enable uiSettings validations
xpack.securitySolution.enableUiSettingsValidations: true
data.enableUiSettingsValidations: true
discover.enableUiSettingsValidations: true