* [Actions] Converted `rejectUnauthorized` config usages to `verificationMode`. * added new verificationMode config options for tls, proxy tls and custom hosts * added unit tests * added unit tests * added kibana docker * Apply suggestions from code review Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com> * Update alert-action-settings.asciidoc * Apply suggestions from code review Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com> * removed legacyRegectUnauthorized logic from getNodeTLSOptions * added deprecations * fixed doc links * fixed docs * Update x-pack/plugins/actions/server/builtin_action_types/lib/send_email.ts Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com> * [DOCS] Fixes build error * fixed deprecations to set custom message * fixed doc * changed to not throw exception on non existing verification mode * added tests * fixed tests * fixed tests * added integration tests for legacy rejectUnauthorized fale * fixed tests Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com> Co-authored-by: Joe Portner <5295965+jportner@users.noreply.github.com> Co-authored-by: lcawl <lcawley@elastic.co> Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
35 lines
705 B
TypeScript
35 lines
705 B
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License
|
|
* 2.0; you may not use this file except in compliance with the Elastic License
|
|
* 2.0.
|
|
*/
|
|
|
|
import { Space } from '../common/types';
|
|
|
|
const Space1: Space = {
|
|
id: 'space1',
|
|
namespace: 'space1',
|
|
name: 'Space 1',
|
|
disabledFeatures: [],
|
|
};
|
|
|
|
const Other: Space = {
|
|
id: 'other',
|
|
namespace: 'other',
|
|
name: 'Other',
|
|
disabledFeatures: [],
|
|
};
|
|
|
|
const Default: Space = {
|
|
id: 'default',
|
|
namespace: undefined,
|
|
name: 'Default',
|
|
disabledFeatures: [],
|
|
};
|
|
|
|
export const Spaces = {
|
|
space1: Space1,
|
|
other: Other,
|
|
default: Default,
|
|
};
|