-
Notifications
You must be signed in to change notification settings - Fork 79
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
Add remote_indices to Create or update roles API #2915
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Following you can find the validation results for the APIs you have changed.
You can validate these APIs yourself by using the |
1 task
pquentin
added a commit
to elastic/kibana
that referenced
this pull request
Sep 20, 2024
## Summary Closes #188608 by adding "remote_indices" to the Create or update roles API. I'm not adding `remote_cluster` because it's not documented, and I don't know yet if it's on purpose or not. As `remote_indices` was also missing from the Elasticsearch specification, I opened elastic/elasticsearch-specification#2915 too. ## Screenshots <img width="561" alt="Screenshot 2024-09-19 at 14 07 07" src="https://github.com/user-attachments/assets/172a4c54-335c-43f7-a899-5b84bb4fd2da"> <img width="591" alt="Screenshot 2024-09-19 at 14 07 33" src="https://github.com/user-attachments/assets/e57c20c3-6acf-4ede-8f79-e388f90e4104"> ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Sep 20, 2024
## Summary Closes elastic#188608 by adding "remote_indices" to the Create or update roles API. I'm not adding `remote_cluster` because it's not documented, and I don't know yet if it's on purpose or not. As `remote_indices` was also missing from the Elasticsearch specification, I opened elastic/elasticsearch-specification#2915 too. ## Screenshots <img width="561" alt="Screenshot 2024-09-19 at 14 07 07" src="https://github.com/user-attachments/assets/172a4c54-335c-43f7-a899-5b84bb4fd2da"> <img width="591" alt="Screenshot 2024-09-19 at 14 07 33" src="https://github.com/user-attachments/assets/e57c20c3-6acf-4ede-8f79-e388f90e4104"> ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) (cherry picked from commit 5a034e9)
kibanamachine
added a commit
to elastic/kibana
that referenced
this pull request
Sep 20, 2024
#193538) # Backport This will backport the following commits from `main` to `8.x`: - [[Console] Add remote_indices to autocomplete overrides (#193403)](#193403) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Quentin Pradet","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-09-20T10:59:37Z","message":"[Console] Add remote_indices to autocomplete overrides (#193403)\n\n## Summary\r\n\r\nCloses #188608 by adding\r\n\"remote_indices\" to the Create or update roles API. I'm not adding\r\n`remote_cluster` because it's not documented, and I don't know yet if\r\nit's on purpose or not. As `remote_indices` was also missing from the\r\nElasticsearch specification, I opened\r\nhttps://github.com/elastic/elasticsearch-specification/pull/2915 too.\r\n\r\n## Screenshots\r\n\r\n<img width=\"561\" alt=\"Screenshot 2024-09-19 at 14 07 07\"\r\nsrc=\"https://github.com/user-attachments/assets/172a4c54-335c-43f7-a899-5b84bb4fd2da\">\r\n\r\n<img width=\"591\" alt=\"Screenshot 2024-09-19 at 14 07 33\"\r\nsrc=\"https://github.com/user-attachments/assets/e57c20c3-6acf-4ede-8f79-e388f90e4104\">\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"5a034e9268620f3d757272599e584a3ec4da24fc","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Console","Team:Kibana Management","release_note:skip","v9.0.0","backport:prev-minor","v8.16.0"],"title":"[Console] Add remote_indices to autocomplete overrides","number":193403,"url":"https://github.com/elastic/kibana/pull/193403","mergeCommit":{"message":"[Console] Add remote_indices to autocomplete overrides (#193403)\n\n## Summary\r\n\r\nCloses #188608 by adding\r\n\"remote_indices\" to the Create or update roles API. I'm not adding\r\n`remote_cluster` because it's not documented, and I don't know yet if\r\nit's on purpose or not. As `remote_indices` was also missing from the\r\nElasticsearch specification, I opened\r\nhttps://github.com/elastic/elasticsearch-specification/pull/2915 too.\r\n\r\n## Screenshots\r\n\r\n<img width=\"561\" alt=\"Screenshot 2024-09-19 at 14 07 07\"\r\nsrc=\"https://github.com/user-attachments/assets/172a4c54-335c-43f7-a899-5b84bb4fd2da\">\r\n\r\n<img width=\"591\" alt=\"Screenshot 2024-09-19 at 14 07 33\"\r\nsrc=\"https://github.com/user-attachments/assets/e57c20c3-6acf-4ede-8f79-e388f90e4104\">\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"5a034e9268620f3d757272599e584a3ec4da24fc"}},"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/193403","number":193403,"mergeCommit":{"message":"[Console] Add remote_indices to autocomplete overrides (#193403)\n\n## Summary\r\n\r\nCloses #188608 by adding\r\n\"remote_indices\" to the Create or update roles API. I'm not adding\r\n`remote_cluster` because it's not documented, and I don't know yet if\r\nit's on purpose or not. As `remote_indices` was also missing from the\r\nElasticsearch specification, I opened\r\nhttps://github.com/elastic/elasticsearch-specification/pull/2915 too.\r\n\r\n## Screenshots\r\n\r\n<img width=\"561\" alt=\"Screenshot 2024-09-19 at 14 07 07\"\r\nsrc=\"https://github.com/user-attachments/assets/172a4c54-335c-43f7-a899-5b84bb4fd2da\">\r\n\r\n<img width=\"591\" alt=\"Screenshot 2024-09-19 at 14 07 33\"\r\nsrc=\"https://github.com/user-attachments/assets/e57c20c3-6acf-4ede-8f79-e388f90e4104\">\r\n\r\n### For maintainers\r\n\r\n- [ ] This was checked for breaking API changes and was [labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"5a034e9268620f3d757272599e584a3ec4da24fc"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Quentin Pradet <[email protected]>
l-trotta
approved these changes
Sep 23, 2024
The backport to
To backport manually, run these commands in your terminal: # Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add .worktrees/backport-8.15 8.15
# Navigate to the new working tree
cd .worktrees/backport-8.15
# Create a new branch
git switch --create backport-2915-to-8.15
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 bf8d295b608fdf6b6ba9de0d085ff9ae2ac224b7
# Push it to GitHub
git push --set-upstream origin backport-2915-to-8.15
# Go back to the original working tree
cd ../..
# Delete the working tree
git worktree remove .worktrees/backport-8.15 Then, create a pull request where the |
github-actions bot
pushed a commit
that referenced
this pull request
Sep 23, 2024
(cherry picked from commit bf8d295)
pquentin
pushed a commit
that referenced
this pull request
Sep 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As documented in https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-put-role.html. Note that
remote_cluster
is still missing, so that won't fully fix the validation.