diff --git a/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts index 0bc0bc5ed0803..0c424ec3ce319 100644 --- a/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts +++ b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/dynamic_route/get_metrics_by_type.ts @@ -39,7 +39,7 @@ export function registerDynamicRoute({ security: { authz: { enabled: false, - reason: 'This route is opted out from authorization', + reason: 'This route is opted out from authorization because it is only retrieving the ES cluster UUID', }, }, options: { diff --git a/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts index a783e6096b52b..bf71dc1e2f31a 100644 --- a/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts +++ b/x-pack/platform/plugins/private/monitoring_collection/server/routes/api/v1/prometheus/get_metrics.ts @@ -23,7 +23,7 @@ export function registerV1PrometheusRoute({ security: { authz: { enabled: false, - reason: 'This route is opted out from authorization', + reason: 'This route is opted out from authorization because it is not interacting with ES at all', }, }, options: {