mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
resolves https://github.com/elastic/kibana/issues/52597 The previous default was `[]`, which meant no hosts were whitelisted, which would require a Kibana admin to set this value for any actions that accessed 3rd party services (currently email and webhook, longer term slack and pagerduty).
This commit is contained in:
parent
55f24fbacc
commit
e9dc27c323
3 changed files with 6 additions and 3 deletions
|
@ -396,6 +396,11 @@ Rollup user interface.
|
|||
|
||||
`i18n.locale`:: *Default: en* Set this value to change the Kibana interface language. Valid locales are: `en`, `zh-CN`, `ja-JP`.
|
||||
|
||||
`xpack.actions.whitelistedHosts:`:: *Default: +[ {asterisk} ]+* Set this value
|
||||
to an array of host names which actions such as email, slack, pagerduty, and
|
||||
webhook can connect to. An element of `*` indicates any host can be connected
|
||||
to. An empty array indicates no hosts can be connected to.
|
||||
|
||||
|
||||
include::{docdir}/settings/apm-settings.asciidoc[]
|
||||
include::{docdir}/settings/dev-settings.asciidoc[]
|
||||
|
|
|
@ -41,7 +41,7 @@ export function actions(kibana: any) {
|
|||
.allow('*')
|
||||
)
|
||||
.sparse(false)
|
||||
.default([]),
|
||||
.default(['*']),
|
||||
})
|
||||
.default();
|
||||
},
|
||||
|
|
|
@ -53,12 +53,10 @@ export function createTestConfig(name: string, options: CreateTestConfigOptions)
|
|||
...xPackApiIntegrationTestsConfig.get('kbnTestServer'),
|
||||
serverArgs: [
|
||||
...xPackApiIntegrationTestsConfig.get('kbnTestServer.serverArgs'),
|
||||
'--xpack.actions.enabled=true',
|
||||
`--xpack.actions.whitelistedHosts=${JSON.stringify([
|
||||
'localhost',
|
||||
'some.non.existent.com',
|
||||
])}`,
|
||||
'--xpack.alerting.enabled=true',
|
||||
...disabledPlugins.map(key => `--xpack.${key}.enabled=false`),
|
||||
`--plugin-path=${path.join(__dirname, 'fixtures', 'plugins', 'alerts')}`,
|
||||
`--plugin-path=${path.join(__dirname, 'fixtures', 'plugins', 'actions')}`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue