"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "x-pack/qa/multi-cluster-search-security/src/test/resources/rest-api-spec/test/remote_cluster/10_basic.yml" between
elasticsearch-6.8.14-src.tar.gz and elasticsearch-6.8.15-src.tar.gz

About: elasticsearch is a Distributed, RESTful, Search Engine built on top of Apache Lucene. Source package (GitHub).

10_basic.yml  (elasticsearch-6.8.14-src):10_basic.yml  (elasticsearch-6.8.15-src)
skipping to change at line 31 skipping to change at line 31
{ {
"cluster": ["monitor"], "cluster": ["monitor"],
"indices": [ "indices": [
{ {
"names": ["single_doc_index", "secure_alias", "test_index", "a liased_test_index", "field_caps_index_1", "names": ["single_doc_index", "secure_alias", "test_index", "a liased_test_index", "field_caps_index_1",
"field_caps_index_3"], "field_caps_index_3"],
"privileges": ["read", "read_cross_cluster"] "privileges": ["read", "read_cross_cluster"]
} }
] ]
} }
- do:
xpack.security.put_role:
name: "dls_fls_role"
body: >
{
"cluster": ["monitor"],
"indices": [
{
"names": ["shared_index"],
"privileges": ["read", "read_cross_cluster"],
"query": "{ \"term\": { \"public\" : true } }",
"field_security": { "grant": ["*"], "except": ["secret"] }
}
]
}
--- ---
"Index data and search on the remote cluster": "Index data and search on the remote cluster":
- do: - do:
indices.create: indices.create:
index: single_doc_index index: single_doc_index
body: body:
settings: settings:
index: index:
number_of_shards: 1 number_of_shards: 1
skipping to change at line 198 skipping to change at line 214
# that manually # that manually
- do: - do:
xpack.security.put_user: xpack.security.put_user:
username: "joe" username: "joe"
body: > body: >
{ {
"password": "s3krit", "password": "s3krit",
"roles" : [ ] "roles" : [ ]
} }
- match: { user: { created: false } } - match: { user: { created: false } }
- do:
indices.create:
index: shared_index
body:
settings:
index:
number_of_shards: 1
number_of_replicas: 0
- do:
bulk:
refresh: true
body:
- '{"index": {"_index": "shared_index", "_id": 1, "_type": "test_type"
}}'
- '{"public": true, "name": "doc 1", "secret": "sesame"}'
- '{"index": {"_index": "shared_index", "_id": 2, "_type": "test_type"
}}'
- '{"public": false, "name": "doc 2", "secret": "sesame"}'
 End of changes. 2 change blocks. 
0 lines changed or deleted 16 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)