Skip to content

Commit

Permalink
xpack.actions.{proxy}VerificationMode is actual xpack.actions.ssl.{pr…
Browse files Browse the repository at this point in the history
…oxy}VerificationMode (elastic#114593) (elastic#117140)

* xpack.actions.proxyVerificationMode is actual xpack.actions.ssl.proxyVerificationMode

* xpack.actions.verificationMode is actual xpack.actions.ssl.verificationMode

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	x-pack/plugins/actions/server/index.test.ts

Co-authored-by: Tobias Stadler <ts.stadler@gmx.de>
  • Loading branch information
ymao1 and tobiasstadler authored Nov 2, 2021
1 parent ce8677b commit 4202647
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions x-pack/plugins/actions/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@ export const config: PluginConfigDescriptor<ActionsConfig> = {
if (!!actions?.rejectUnauthorized) {
addDeprecation({
message:
`"xpack.actions.rejectUnauthorized" is deprecated. Use "xpack.actions.verificationMode" instead, ` +
`"xpack.actions.rejectUnauthorized" is deprecated. Use "xpack.actions.ssl.verificationMode" instead, ` +
`with the setting "verificationMode:full" eql to "rejectUnauthorized:true", ` +
`and "verificationMode:none" eql to "rejectUnauthorized:false".`,
correctiveActions: {
manualSteps: [
`Remove "xpack.actions.rejectUnauthorized" from your kibana configs.`,
`Use "xpack.actions.verificationMode" ` +
`Use "xpack.actions.ssl.verificationMode" ` +
`with the setting "verificationMode:full" eql to "rejectUnauthorized:true", ` +
`and "verificationMode:none" eql to "rejectUnauthorized:false".`,
],
Expand All @@ -108,13 +108,13 @@ export const config: PluginConfigDescriptor<ActionsConfig> = {
if (!!actions?.proxyRejectUnauthorizedCertificates) {
addDeprecation({
message:
`"xpack.actions.proxyRejectUnauthorizedCertificates" is deprecated. Use "xpack.actions.proxyVerificationMode" instead, ` +
`"xpack.actions.proxyRejectUnauthorizedCertificates" is deprecated. Use "xpack.actions.ssl.proxyVerificationMode" instead, ` +
`with the setting "proxyVerificationMode:full" eql to "rejectUnauthorized:true",` +
`and "proxyVerificationMode:none" eql to "rejectUnauthorized:false".`,
correctiveActions: {
manualSteps: [
`Remove "xpack.actions.proxyRejectUnauthorizedCertificates" from your kibana configs.`,
`Use "xpack.actions.proxyVerificationMode" ` +
`Use "xpack.actions.ssl.proxyVerificationMode" ` +
`with the setting "proxyVerificationMode:full" eql to "rejectUnauthorized:true",` +
`and "proxyVerificationMode:none" eql to "rejectUnauthorized:false".`,
],
Expand Down

0 comments on commit 4202647

Please sign in to comment.