[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"],
|
||||
"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"]
|
||||
}
|
||||
]
|
||||
|
|
|
@ -22,7 +22,7 @@ setup:
|
|||
"cluster": ["monitor"],
|
||||
"indices": [
|
||||
{
|
||||
"names": "*",
|
||||
"names": ["test_index", "aliased_test_index"],
|
||||
"privileges": ["read", "read_cross_cluster", "view_index_metadata"]
|
||||
}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue