Skip to content

Commit

Permalink
Add docs
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <[email protected]>
  • Loading branch information
derek-ho committed Oct 17, 2023
1 parent ad97a7a commit 87f0605
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/user/ppl/admin/datasources.rst
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ we can remove authorization and other details in case of security disabled domai
"allowedRoles" : ["all_access"]
}

**Name is required and must exist. Connector cannot be modified and will be ignored.**

* Datasource Read GET API("_plugins/_query/_datasources/{{dataSourceName}}" ::

GET https://localhost:9200/_plugins/_query/_datasources/my_prometheus
Expand All @@ -125,6 +127,7 @@ Each of the datasource configuration management apis are controlled by following
* cluster:admin/opensearch/datasources/create [Create POST API]
* cluster:admin/opensearch/datasources/read [Get GET API]
* cluster:admin/opensearch/datasources/update [Update PUT API]
* cluster:admin/opensearch/datasources/patch [Update PATCH API]
* cluster:admin/opensearch/datasources/delete [Delete DELETE API]

Only users mapped with roles having above actions are authorized to execute datasource management apis.
Expand Down

0 comments on commit 87f0605

Please sign in to comment.