From ec136578a851dff1f6557a0bb731ba1629cdcde7 Mon Sep 17 00:00:00 2001 From: Colleen McGinnis Date: Tue, 20 Aug 2024 14:20:37 -0500 Subject: [PATCH] update agent key privileges to include access to kibana (#4165) (cherry picked from commit 8548dc32794b95e34a92e9394ebe7c592524df09) --- docs/en/observability/apm-ui/api.asciidoc | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/docs/en/observability/apm-ui/api.asciidoc b/docs/en/observability/apm-ui/api.asciidoc index f85ee07b56..33a64d5d75 100644 --- a/docs/en/observability/apm-ui/api.asciidoc +++ b/docs/en/observability/apm-ui/api.asciidoc @@ -795,11 +795,18 @@ Create and assign this role to a user that wishes to create APM agent API keys. POST /_security/role/apm_agent_key_user { "cluster": ["manage_own_api_key"], - "applications": [{ - "application": "apm", - "privileges": ["event:write", "config_agent:read"], - "resources": ["*"] - }] + "applications": [ + { + "application": "kibana-.kibana", + "privileges": ["feature_apm.all"], + "resources": ["*"] + }, + { + "application": "apm", + "privileges": ["event:write", "config_agent:read"], + "resources": ["*"] + } + ] } --------------------------------------------------