mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[status] Rename setting to status.allowAnonymous as it applies to API as well as statusPage
This commit is contained in:
parent
cb52c70c55
commit
d8d1a1a65c
3 changed files with 4 additions and 4 deletions
|
@ -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.
|
||||
|
|
|
@ -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()
|
||||
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue