OpenSearch/qa/smoke-test-ml-with-security/roles.yml

18 lines
655 B
YAML

minimal:
cluster:
# This is always required because the REST client uses it to find the version of
# Elasticsearch it's talking to
- cluster:monitor/main
indices:
# Give all users involved in these tests access to the indices where the data to
# be analyzed is stored, because the ML roles alone do not provide access to
# non-ML indices
- names: [ 'airline-data', 'index-foo', 'unavailable-data' ]
privileges:
- indices:admin/create
- indices:admin/refresh
- indices:data/read/field_caps
- indices:data/read/search
- indices:data/write/bulk
- indices:data/write/index