Skip to content
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

[Serverless] Global strip unknown keys doesn't work on nested objects #201442

Open
afharo opened this issue Nov 22, 2024 · 1 comment
Open

[Serverless] Global strip unknown keys doesn't work on nested objects #201442

afharo opened this issue Nov 22, 2024 · 1 comment
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Configuration Settings in kibana.yml Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc

Comments

@afharo
Copy link
Member

afharo commented Nov 22, 2024

Related to #187006

We noticed that the global validation option stripUnknownKeys: true used in Serverless doesn't work as expected on settings defined in a nested schema.object:

elasticsearch.unknown.key: 1 # No issues (error log but Kibana continues spinning up)
unknown.key: 2 # Again... no issues (error log but Kibana continues spinning up)

xpack.dataUsage.autoops.api.tls.ca: abc # Failure! "[config validation of [xpack.dataUsage].autoops.api.tls.ca]: definition for this key is missing"

telemetry.labels.unknown: 123 # also fails!

#186547 might have been the culprit of the regression.

Let's add a test case to cover the scenario and find a way to fix it.

@afharo afharo added the bug Fixes for quality problems that affect the customer experience label Nov 22, 2024
@afharo afharo self-assigned this Nov 22, 2024
@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 22, 2024
@afharo afharo added Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:Configuration Settings in kibana.yml labels Nov 22, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Configuration Settings in kibana.yml Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

No branches or pull requests

2 participants