Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.0] for cluster manager term update #693

Merged
merged 1 commit into from
Jun 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions _opensearch/rest-api/cat/cat-templates.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,15 +39,15 @@ In addition to the [common URL parameters]({{site.url}}{{site.baseurl}}/opensear

Parameter | Type | Description
:--- | :--- | :---
local | Boolean | Whether to return information from the local node only instead of from the master node. Default is false.
master_timeout | Time | The amount of time to wait for a connection to the master node. Default is 30 seconds.
local | Boolean | Whether to return information from the local node only instead of from the cluster manager node. Default is false.
cluster_manager_timeout | Time | The amount of time to wait for a connection to the cluster manager node. Default is 30 seconds.


## Response

```
name | index_patterns order version composed_of
tenant_template | [kibana*] | 0 |
tenant_template | [opensearch-dashboards*] | 0 |
```

To learn more about index templates, see [Index templates]({{site.url}}{{site.baseurl}}/opensearch/index-templates).
12 changes: 6 additions & 6 deletions _security-plugin/access-control/multi-tenancy.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,23 +36,23 @@ config:
dynamic:
opensearch-dashboards:
multitenancy_enabled: true
server_username: kibanaserver
server_username: opensearch
index: '.opensearch-dashboards'
do_not_fail_on_forbidden: false
```

Setting | Description
:--- | :---
`multitenancy_enabled` | Enable or disable multi-tenancy. Default is true.
`server_username` | Must match the name of the OpenSearch Dashboards server user from `opensearch_dashboards.yml`. Default is `kibanaserver`.
`server_username` | Must match the name of the OpenSearch Dashboards server user from `opensearch_dashboards.yml`. Default is `dashboardserver`.
`index` | Must match the name of the OpenSearch Dashboards index from `opensearch_dashboards.yml`. Default is `.opensearch-dashboards`.
`do_not_fail_on_forbidden` | If true, the security plugin removes any content that a user is not allowed to see from search results. If false, the plugin returns a security exception. Default is false.

`opensearch_dashboards.yml` has some additional settings:

```yml
opensearch.username: kibanaserver
opensearch.password: kibanaserver
opensearch.username: dashboardserver
opensearch.password: dashboardserver
opensearch.requestHeadersAllowlist: ["securitytenant","Authorization"]
opensearch_security.multitenancy.enabled: true
opensearch_security.multitenancy.tenants.enable_global: true
Expand Down Expand Up @@ -158,8 +158,8 @@ _meta:
The open source version of OpenSearch Dashboards saves all objects to a single index: `.opensearch-dashboards`. The security plugin uses this index for the global tenant, but separate indices for every other tenant. Each user also has a private tenant, so you might see a large number of indices that follow two patterns:

```
.kibana_<hash>_<tenant_name>
.kibana_<hash>_<username>
.opensearch-dashboards_<hash>_<tenant_name>
.opensearch-dashboards_<hash>_<username>
```

The security plugin scrubs these index names of special characters, so they might not be a perfect match of tenant names and usernames.
Expand Down