[8.x] [Console] Add remote_indices to autocomplete overrides (#193403) (#193538)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Console] Add remote_indices to autocomplete overrides
(#193403)](https://github.com/elastic/kibana/pull/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":"quentin.pradet@elastic.co"},"sourceCommit":{"committedDate":"2024-09-20T10:59:37Z","message":"[Console]
Add remote_indices to autocomplete overrides (#193403)\n\n##
Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/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 https://github.com/elastic/kibana/issues/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 https://github.com/elastic/kibana/issues/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 <quentin.pradet@elastic.co>
This commit is contained in:
Kibana Machine 2024-09-20 22:37:47 +10:00 committed by GitHub
parent 774f7bd070
commit d8a35bc80d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -10,6 +10,15 @@
"query": ""
}
],
"remote_indices": [
{
"clusters": [],
"field_security": {},
"names": [],
"privileges": [],
"query": ""
}
],
"run_as": [],
"metadata": {}
}