mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
[TEST] Cross Cluster Search: specify index name when creating role (elastic/x-pack-elasticsearch#1208)
This makes sure that the user needs to have access only to the specific index that needs to be accessed on the remote clusters. relates to elastic/x-pack-elasticsearch#1153 Original commit: elastic/x-pack-elasticsearch@7966416bd7
This commit is contained in:
parent
a7d9e92f25
commit
2a1fd02dcf
@ -22,7 +22,7 @@ setup:
|
|||||||
"cluster": ["all"],
|
"cluster": ["all"],
|
||||||
"indices": [
|
"indices": [
|
||||||
{
|
{
|
||||||
"names": "*",
|
"names": ["test_index", "my_remote_cluster:test_index", "my_remote_cluster:aliased_test_index", "test_remote_cluster:test_index"],
|
||||||
"privileges": ["read", "read_cross_cluster", "view_index_metadata"]
|
"privileges": ["read", "read_cross_cluster", "view_index_metadata"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -22,7 +22,7 @@ setup:
|
|||||||
"cluster": ["monitor"],
|
"cluster": ["monitor"],
|
||||||
"indices": [
|
"indices": [
|
||||||
{
|
{
|
||||||
"names": "*",
|
"names": ["test_index", "aliased_test_index"],
|
||||||
"privileges": ["read", "read_cross_cluster", "view_index_metadata"]
|
"privileges": ["read", "read_cross_cluster", "view_index_metadata"]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user