Merge pull request #27 from spbjss/main

Update AD doc to apply the latest security APi update.
This commit is contained in:
Ashwin Kumar 2021-05-24 19:01:41 -07:00 committed by GitHub
commit fcba22c91c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ For example, consider two users: `alice` and `bob`.
`alice` has an analyst backend role:
```json
PUT _opensearch/_security/api/internalusers/alice
PUT _plugins/_security/api/internalusers/alice
{
"password": "alice",
"backend_roles": [
@ -59,7 +59,7 @@ PUT _opensearch/_security/api/internalusers/alice
`bob` has a human-resources backend role:
```json
PUT _opensearch/_security/api/internalusers/bob
PUT _plugins/_security/api/internalusers/bob
{
"password": "bob",
"backend_roles": [
@ -72,7 +72,7 @@ PUT _opensearch/_security/api/internalusers/bob
Both `alice` and `bob` have full access to anomaly detection:
```json
PUT _opensearch/_security/api/rolesmapping/anomaly_full_access
PUT _plugins/_security/api/rolesmapping/anomaly_full_access
{
"backend_roles": [],
"hosts": [],