aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/docker/elasticsearch/config/sg/sg_roles_mapping.yml
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/docker/elasticsearch/config/sg/sg_roles_mapping.yml')
-rw-r--r--src/main/docker/elasticsearch/config/sg/sg_roles_mapping.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/src/main/docker/elasticsearch/config/sg/sg_roles_mapping.yml b/src/main/docker/elasticsearch/config/sg/sg_roles_mapping.yml
new file mode 100644
index 000000000..45bb77556
--- /dev/null
+++ b/src/main/docker/elasticsearch/config/sg/sg_roles_mapping.yml
@@ -0,0 +1,34 @@
+# In this file users, backendroles and hosts can be mapped to Search Guard roles.
+# Permissions for Search Guard roles are configured in sg_roles.yml
+
+sg_all_access:
+ readonly: true
+ backendroles:
+ - admin
+
+sg_logstash:
+ backendroles:
+ - logstash
+
+sg_kibana_server:
+ readonly: true
+ users:
+ - kibanaserver
+
+sg_kibana_user:
+ backendroles:
+ - kibanauser
+
+sg_readall:
+ readonly: true
+ backendroles:
+ - readall
+
+sg_manage_snapshots:
+ readonly: true
+ backendroles:
+ - snapshotrestore
+
+sg_own_index:
+ users:
+ - '*' \ No newline at end of file