Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
# Backport This will backport the following commits from `main` to `8.x`: - [π Play nice with ES (#200253)](#200253) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Joe Reuter","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-26T06:46:36Z","message":"π Play nice with ES (#200253)\n\nThis PR implements two changes:\r\n* When syncing a stream, try to PUT the current mappings to the data\r\nstream - if this fails with `illegal_argument_exception`, do a rollover\r\ninstead. This is similar to how fleet handles this situation\r\n* Before accessing streams, check whether the current user can read the\r\ncurrent data stream and only return it if this is the case. Users with\r\npartial read access will only see a partial tree. This doesn't apply to\r\nwriting changes as the user needs to be able to change index templates,\r\npipelines and so on which requires admin privileges anyway\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"8e671728614012a5f5c5efc68975d9c0139ccfb7","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","v8.18.0"],"title":"π Play nice with ES","number":200253,"url":"https://github.com/elastic/kibana/pull/200253","mergeCommit":{"message":"π Play nice with ES (#200253)\n\nThis PR implements two changes:\r\n* When syncing a stream, try to PUT the current mappings to the data\r\nstream - if this fails with `illegal_argument_exception`, do a rollover\r\ninstead. This is similar to how fleet handles this situation\r\n* Before accessing streams, check whether the current user can read the\r\ncurrent data stream and only return it if this is the case. Users with\r\npartial read access will only see a partial tree. This doesn't apply to\r\nwriting changes as the user needs to be able to change index templates,\r\npipelines and so on which requires admin privileges anyway\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"8e671728614012a5f5c5efc68975d9c0139ccfb7"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200253","number":200253,"mergeCommit":{"message":"π Play nice with ES (#200253)\n\nThis PR implements two changes:\r\n* When syncing a stream, try to PUT the current mappings to the data\r\nstream - if this fails with `illegal_argument_exception`, do a rollover\r\ninstead. This is similar to how fleet handles this situation\r\n* Before accessing streams, check whether the current user can read the\r\ncurrent data stream and only return it if this is the case. Users with\r\npartial read access will only see a partial tree. This doesn't apply to\r\nwriting changes as the user needs to be able to change index templates,\r\npipelines and so on which requires admin privileges anyway\r\n\r\n---------\r\n\r\nCo-authored-by: kibanamachine <[email protected]>","sha":"8e671728614012a5f5c5efc68975d9c0139ccfb7"}},{"branch":"8.x","label":"v8.18.0","branchLabelMappingKey":"^v8.18.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Joe Reuter <[email protected]>
- Loading branch information