diff --git a/docs/kibana-yml.asciidoc b/docs/kibana-yml.asciidoc index 080c5f53c1fd..193b00e59f58 100644 --- a/docs/kibana-yml.asciidoc +++ b/docs/kibana-yml.asciidoc @@ -44,5 +44,5 @@ error messages. information and all requests. `ops.interval`:: *Default: 10000* Set the interval in milliseconds to sample system and process performance metrics. The minimum value is 100. -`statusPage.allowAnonymous`:: *Default: false* If authentication is enabled, setting this to `true` allows -unauthenticated users to view the Kibana server status page. +`status.allowAnonymous`:: *Default: false* If authentication is enabled, setting this to `true` allows +unauthenticated users to access the Kibana server status API and status page. diff --git a/src/server/config/schema.js b/src/server/config/schema.js index 5f33e039976a..3fb32f84c013 100644 --- a/src/server/config/schema.js +++ b/src/server/config/schema.js @@ -123,7 +123,7 @@ module.exports = () => Joi.object({ profile: Joi.boolean().default(false) }).default(), - statusPage: Joi.object({ + status: Joi.object({ allowAnonymous: Joi.boolean().default(false) }).default() diff --git a/src/server/status/index.js b/src/server/status/index.js index 2794bb600b5f..ba20e019a88b 100644 --- a/src/server/status/index.js +++ b/src/server/status/index.js @@ -11,7 +11,7 @@ module.exports = function (kbnServer, server, config) { kbnServer.mixin(require('./metrics')); } - const wrapAuth = wrapAuthConfig(config.get('statusPage.allowAnonymous')); + const wrapAuth = wrapAuthConfig(config.get('status.allowAnonymous')); server.route(wrapAuth({ method: 'GET',