Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[7.17] fix(tests): update built-in ES privileges to expect `remote_cl…
…uster` only starting from 8.15.0+. (#184454) (#184474) # Backport This will backport the following commits from `main` to `7.17`: - [fix(tests): update built-in ES privileges to expect `remote_cluster` only starting from 8.15.0+. (#184454)](#184454) <!--- Backport version: 8.9.8 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Aleh Zasypkin","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-05-29T18:11:24Z","message":"fix(tests): update built-in ES privileges to expect `remote_cluster` only starting from 8.15.0+. (#184454)\n\n## Summary\r\n\r\nUpdate built-in ES privileges to expect `remote_cluster` only starting\r\nfrom 8.15.0+.\r\n\r\n```http\r\nGET /_security/privilege/_builtin HTTP/1.1\r\nx-elastic-product-origin: kibana\r\nuser-agent: Kibana/8.15.0\r\nx-elastic-client-meta: es=8.13.0,js=20.13.1,t=8.4.1,hc=20.13.1\r\naccept: application/vnd.elasticsearch+json; compatible-with=8,text/plain\r\nHost: localhost:9220\r\n\r\nHTTP/1.1 200 OK\r\nX-elastic-product: Elasticsearch\r\ncontent-type: application/json\r\ncontent-length: 1562\r\n\r\n{\r\n \"cluster\": [\r\n \"all\",\r\n ...\r\n ],\r\n \"index\": [\r\n \"all\",\r\n ...\r\n ],\r\n \"remote_cluster\": [\r\n \"monitor_enrich\"\r\n ]\r\n}\r\n```\r\n\r\n__Fixes: https://github.com/elastic/kibana/issues/184431__\r\n__Fixes: https://github.com/elastic/kibana/issues/184432__","sha":"c1846c34b820488d9e660d89b23cef1794231d59","branchLabelMapping":{"^v8.15.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["test","Feature:CCR and Remote Clusters","release_note:skip","backport:prev-MAJOR","v8.15.0"],"number":184454,"url":"https://github.com/elastic/kibana/pull/184454","mergeCommit":{"message":"fix(tests): update built-in ES privileges to expect `remote_cluster` only starting from 8.15.0+. (#184454)\n\n## Summary\r\n\r\nUpdate built-in ES privileges to expect `remote_cluster` only starting\r\nfrom 8.15.0+.\r\n\r\n```http\r\nGET /_security/privilege/_builtin HTTP/1.1\r\nx-elastic-product-origin: kibana\r\nuser-agent: Kibana/8.15.0\r\nx-elastic-client-meta: es=8.13.0,js=20.13.1,t=8.4.1,hc=20.13.1\r\naccept: application/vnd.elasticsearch+json; compatible-with=8,text/plain\r\nHost: localhost:9220\r\n\r\nHTTP/1.1 200 OK\r\nX-elastic-product: Elasticsearch\r\ncontent-type: application/json\r\ncontent-length: 1562\r\n\r\n{\r\n \"cluster\": [\r\n \"all\",\r\n ...\r\n ],\r\n \"index\": [\r\n \"all\",\r\n ...\r\n ],\r\n \"remote_cluster\": [\r\n \"monitor_enrich\"\r\n ]\r\n}\r\n```\r\n\r\n__Fixes: https://github.com/elastic/kibana/issues/184431__\r\n__Fixes: https://github.com/elastic/kibana/issues/184432__","sha":"c1846c34b820488d9e660d89b23cef1794231d59"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.15.0","labelRegex":"^v8.15.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/184454","number":184454,"mergeCommit":{"message":"fix(tests): update built-in ES privileges to expect `remote_cluster` only starting from 8.15.0+. (#184454)\n\n## Summary\r\n\r\nUpdate built-in ES privileges to expect `remote_cluster` only starting\r\nfrom 8.15.0+.\r\n\r\n```http\r\nGET /_security/privilege/_builtin HTTP/1.1\r\nx-elastic-product-origin: kibana\r\nuser-agent: Kibana/8.15.0\r\nx-elastic-client-meta: es=8.13.0,js=20.13.1,t=8.4.1,hc=20.13.1\r\naccept: application/vnd.elasticsearch+json; compatible-with=8,text/plain\r\nHost: localhost:9220\r\n\r\nHTTP/1.1 200 OK\r\nX-elastic-product: Elasticsearch\r\ncontent-type: application/json\r\ncontent-length: 1562\r\n\r\n{\r\n \"cluster\": [\r\n \"all\",\r\n ...\r\n ],\r\n \"index\": [\r\n \"all\",\r\n ...\r\n ],\r\n \"remote_cluster\": [\r\n \"monitor_enrich\"\r\n ]\r\n}\r\n```\r\n\r\n__Fixes: https://github.com/elastic/kibana/issues/184431__\r\n__Fixes: https://github.com/elastic/kibana/issues/184432__","sha":"c1846c34b820488d9e660d89b23cef1794231d59"}}]}] BACKPORT--> Co-authored-by: Kibana Machine <[email protected]>
- Loading branch information