Ah, now I got you. For creating index patterns, dashboards etc. you can use the Kibana API for saved objects. It is not well documented, but works. You can import and export all saved object types with that.
The next version of the SG Kibana plugin (which will be released this week) will support selecting a tenant when using the Kibana saved objects API. I guess you need to wait until it is released, with the current plugin versions it’s not possible I’m afraid.
On Monday, April 2, 2018 at 9:15:21 PM UTC+2, firstname.lastname@example.org wrote:
But that wouldn’t modify the contents of the tenant, it would only change the tenants a role has, right?
On Monday, April 2, 2018 at 12:03:14 PM UTC-7, Jochen Kressin wrote:
At the moment there is no separate REST endpoint for modifying tenants (only). Tenants are part of the role definitions, so the only way at the moment is to GET a role, modify the tenants and then save it again via PUT:
On Monday, April 2, 2018 at 8:59:33 PM UTC+2, rob...@elementdata.com wrote:
When asking questions, please provide the following information:
- Search Guard and Elasticsearch version: 6.2.2
- JVM version and operating system version: 1.8
- Search Guard configuration files: demo
Is there a REST api; such as the REST API to add users, roles, and mappings (https://docs.search-guard.com/latest/rest-api.html); for modifying tenants? For example, I want to automate adding index-patterns or dashboards to tenants on creation.