From 84bea3d26fbe6212e6dd69e081f33a1660fa5d89 Mon Sep 17 00:00:00 2001 From: dedemorton Date: Tue, 6 Aug 2024 11:06:02 -0700 Subject: [PATCH] Add missing privileges --- .../elastic-entity-model.asciidoc | 35 ++++++++++++++----- docs/en/serverless/elastic-entity-model.mdx | 17 ++++----- 2 files changed, 35 insertions(+), 17 deletions(-) diff --git a/docs/en/observability/elastic-entity-model.asciidoc b/docs/en/observability/elastic-entity-model.asciidoc index 9228e7ee8e..2364811566 100644 --- a/docs/en/observability/elastic-entity-model.asciidoc +++ b/docs/en/observability/elastic-entity-model.asciidoc @@ -16,13 +16,19 @@ Examples of entities include (but are not limited to) services, hosts, and conta The concept of an entity is important as a means to unify observability signals based on the underlying entity that the signals describe. +[NOTE] +==== +* The Elastic Entity Model currently supports the <> limited to service-based entities (as identified by `service.name`) located in data identified by `logs-*` and `trace-*` index patterns +* During Technical Preview, Entity Discovery Framework components are not enabled by default +==== + [discrete] -== Enable or disable the Elastic Entity Model +== Enable the Elastic Entity Model During Technical Preview, the Elastic Entity Model is enabled when you turn on the entity-centric service inventory described in <>. -The following {es} privileges are required to turn on the new experience: +The following {es} privileges are required: [cols="1,1"] |==== @@ -39,12 +45,23 @@ names: [`logs-*`, `filebeat*`, `metrics-*`, `metricbeat*`, `traces-*`, `.entitie For more information, refer to {ref}/security-privileges.html[Security privileges] in the {es} documentation. -**To disable the Elastic Entity Model:** +[discrete] +== Disable the Elastic Entity Model -- From the Dev Console, run the command: `DELETE kbn:/internal/entities/managed/enablement` +From the Dev Console, run the command: `DELETE kbn:/internal/entities/managed/enablement` + +The following {es} privileges are required to delete {es} resources: + +[cols="1,1"] +|==== +|**Index privileges** +|names: [`.entities*`], privileges: [`delete_index`] + +names: [`logs-*`, `filebeat*`, `metrics-*`, `metricbeat*`, `traces-*`, `.entities*`], privileges: [`read`, `view_index_metadata`], +|**Cluster privileges** +|`manage_transform`, `manage_ingest_pipelines`, `manage_index_templates` + +|**Application privileges** +|application: `kibana-.kibana`, privileges: [`saved_object:entity-definition/delete`, `saved_object:entity-discovery-api-key/delete`], resources: [*] +|==== -[NOTE] -==== -* The Elastic Entity Model currently supports the <> limited to service-based entities (as identified by `service.name`) located in data identified by `logs-*` and `trace-*` index patterns -* During Technical Preview, Entity Discovery Framework components are not enabled by default -==== diff --git a/docs/en/serverless/elastic-entity-model.mdx b/docs/en/serverless/elastic-entity-model.mdx index d9d31aa677..01504b9169 100644 --- a/docs/en/serverless/elastic-entity-model.mdx +++ b/docs/en/serverless/elastic-entity-model.mdx @@ -22,19 +22,20 @@ Examples of entities include (but are not limited to) services, hosts, and conta The concept of an entity is important as a means to unify observability signals based on the underlying entity that the signals describe. -## Enable or disable the Elastic Entity Model + + - The Elastic Entity Model currently supports the new service inventory experience limited to service-based entities (as identified by `service.name`) located in data identified by `logs-*` and `trace-*` index patterns + - During Technical Preview, Entity Discovery Framework components are not enabled by default + - +## Enable the Elastic Entity Model + During Technical Preview, the Elastic Entity Model is enabled when you turn on the entity-centric service inventory described in . -**To disable the Elastic Entity Model:** +## Disable the Elastic Entity Model -- From the Dev Console, run the command: `DELETE kbn:/internal/entities/managed/enablement` + - - - The Elastic Entity Model currently supports the new service inventory experience limited to service-based entities (as identified by `service.name`) located in data identified by `logs-*` and `trace-*` index patterns - - During Technical Preview, Entity Discovery Framework components are not enabled by default - +From the Dev Console, run the command: `DELETE kbn:/internal/entities/managed/enablement`