Skip to content
This repository was archived by the owner on Aug 16, 2022. It is now read-only.

Commit 3ba19dd

Browse files
Merge pull request #14 from opendistro/master
merge
2 parents 54e1d0f + 44f8c19 commit 3ba19dd

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

docs/alerting/settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ nav_order: 5
1010

1111
## Alerting indices
1212

13-
The alerting feature creates several indices and one alias. Don't delete these or modify their contents without using the alerting APIs.
13+
The alerting feature creates several indices and one alias. The security plugin demo script configures them as [system indices](../../security/configuration/system-indices/) for an extra layer of protection. Don't delete these indices or modify their contents without using the alerting APIs.
1414

1515
Index | Purpose
1616
:--- | :---

docs/knn/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ GET my-knn-index-2/_search
199199
All parameters are required.
200200

201201
- `lang` is the script type. This value is usually `painless`, but here you must specify `knn`.
202-
- `source` is the name of the script, `knn_store`.
202+
- `source` is the name of the script, `knn_score`.
203203

204204
This script is part of the KNN plugin and isn't available at the standard `_scripts` path. A GET request to `_cluster/state/metadata` doesn't return it, either.
205205

docs/security/access-control/users-roles.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ Role | Description
109109
`alerting_ack_alerts` | Grants permissions to view and acknowledge alerts, but not modify destinations or monitors.
110110
`alerting_full_access` | Grants full permissions to all alerting actions.
111111
`alerting_read_access` | Grants permissions to view alerts, destinations, and monitors, but not acknowledge alerts or modify destinations or monitors.
112+
`anomaly_full_access` | Grants full permissions to all anomaly detection actions.
113+
`anomaly_read_access` | Grants permissions to view detectors, but not create, modify, or delete detectors.
112114
`all_access` | Grants full access to the cluster: all cluster-wide operations, write to all indices, write to all tenants.
113115
`kibana_read_only` | A special role that prevents users from making changes to visualizations, dashboards, and other Kibana objects. See `opendistro_security.readonly_mode.roles` in `kibana.yml`. Pair with the `kibana_user` role.
114116
`kibana_user` | Grants permissions to use Kibana: cluster-wide searches, index monitoring, and write to various Kibana indices.

docs/security/configuration/system-indices.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@ nav_order: 15
88

99
# System indices
1010

11-
By default, Open Distro for Elasticsearch has several protected system indices. Even if your user account has read permissions for all indices, you can't directly access the data in these system indices.
11+
By default, Open Distro for Elasticsearch has a protected system index, `.opendistro_security`, which you create using [securityadmin.sh](../security-admin/). Even if your user account has read permissions for all indices, you can't directly access the data in this system index.
1212

13-
The first and most critical index is `.opendistro_security`, which stores the security configuration for your cluster. The demo configuration creates this index automatically, but when you configure the plugin manually, you create it when you first run [securityadmin.sh](../security-admin/).
14-
15-
You can see other system indices in `elasticsearch.yml`:
13+
You can add additional system indices in in `elasticsearch.yml`. In addition to automatically creating `.opendistro_security`, the demo configuration adds several indices for the various Open Distro for Elasticsearch plugins that integrate with the security plugin:
1614

1715
```yml
1816
opendistro_security.system_indices.enabled: true

0 commit comments

Comments
 (0)