Skip to content

fix(indices): add max_retention to RetentionSource enum#6333

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
auto-pr/6330--kibana-type-check-analysis--kibana-type
Open

fix(indices): add max_retention to RetentionSource enum#6333
github-actions[bot] wants to merge 1 commit into
mainfrom
auto-pr/6330--kibana-type-check-analysis--kibana-type

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Closes #6330

Adds the missing max_retention value to the RetentionSource enum in specification/indices/_types/DataStreamLifecycle.ts.

Elasticsearch returns "max_retention" as a valid retention_determined_by value when the data stream's effective retention is capped by the global max_retention setting (GlobalRetention.max_retention). Without this value in the enum, Kibana's TypeScript type check fails when comparing or assigning "max_retention" to RetentionSource.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[kibana-type-check-analysis] Kibana type check: spec fixes needed

0 participants